|
ZetaGrid v1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--zeta.ZetaCalc
Manages the used resources for the computation.
| Field Summary | |
private int |
computationIsActive
|
private java.io.File |
exitFile
|
private java.lang.Thread |
outputThread
|
private ZetaProperties |
properties
Contains a persistent set of the ZetaGrid properties. |
private Task |
task
|
private WorkUnitManager |
workUnitManager
|
| Constructor Summary | |
ZetaCalc()
Constructs the environment how to use the resources for the defined task. |
|
| Method Summary | |
private void |
appendTimeInfo(long millis,
java.lang.StringBuffer buffer)
Appends time information. |
private void |
checkExit()
Checks if the specifed 'exit.filename' exists and terminate the computation and the client. |
private java.io.File |
getExitFile()
|
void |
run()
Starts one thread to calculate per defined processor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private ZetaProperties properties
private Task task
private WorkUnitManager workUnitManager
private java.lang.Thread outputThread
private int computationIsActive
private java.io.File exitFile
| Constructor Detail |
public ZetaCalc()
| Method Detail |
public void run()
run in interface java.lang.Runnable
private void appendTimeInfo(long millis,
java.lang.StringBuffer buffer)
private void checkExit()
private java.io.File getExitFile()
|
ZetaGrid v1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||