zeta
Class ZetaTask
java.lang.Object
|
+--zeta.Task
|
+--zeta.ZetaTask
- public class ZetaTask
- extends Task
|
Field Summary |
private static java.lang.String |
version
|
|
Constructor Summary |
ZetaTask(java.lang.String taskname)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
version
private static java.lang.String version
ZetaTask
public ZetaTask(java.lang.String taskname)
getWorkUnitClass
public java.lang.Class getWorkUnitClass()
- Specified by:
getWorkUnitClass in class Task
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion in class Task
setLog
public void setLog(boolean log)
- Specified by:
setLog in class Task
setResources
public void setResources(int resourceId)
- Specified by:
setResources in class Task
start
public int start(WorkUnit workUnit)
- Specified by:
start in class Task
stop
public int stop()
- Description copied from class:
Task
- Can also be called from another thread or process to stop the computation.
- Specified by:
stop in class Task
- Returns:
- in milliseconds how long the client should before it terminate all processes
getZetaVersion
private static java.lang.String getZetaVersion()
zetaZeros
private static int zetaZeros(long workUnitId,
int size,
int sleepN)
zetaExit
private static void zetaExit()
setCoutLog
private static void setCoutLog(boolean coutLog)
setZetaResources
private static void setZetaResources(int resourceId)
For further technical papers, see ZetaGrid Technical Documentation.
Copyright © 2001,2002 Sebastian Wedeniwski. All Rights Reserved.