ZetaGrid v1.9

zeta
Class ZetaTask

java.lang.Object
  |
  +--zeta.Task
        |
        +--zeta.ZetaTask

public class ZetaTask
extends Task


Field Summary
private static java.lang.String version
           
 
Fields inherited from class zeta.Task
properties
 
Constructor Summary
ZetaTask(java.lang.String taskname)
           
 
Method Summary
 java.lang.String getVersion()
           
 java.lang.Class getWorkUnitClass()
           
private static java.lang.String getZetaVersion()
           
private static void setCoutLog(boolean coutLog)
           
 void setLog(boolean log)
           
 void setResources(int resourceId)
           
private static void setZetaResources(int resourceId)
           
 int start(WorkUnit workUnit)
           
 int stop()
          Can also be called from another thread or process to stop the computation.
private static void zetaExit()
           
private static int zetaZeros(long workUnitId, int size, int sleepN)
           
 
Methods inherited from class zeta.Task
getTaskname, getWorkUnitManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

private static java.lang.String version
Constructor Detail

ZetaTask

public ZetaTask(java.lang.String taskname)
Method Detail

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)

ZetaGrid v1.9

For further technical papers, see ZetaGrid Technical Documentation.
 
Copyright © 2001,2002 Sebastian Wedeniwski. All Rights Reserved.