Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.scoja.server.core
Class IterativeCluster  view IterativeCluster download IterativeCluster.java

java.lang.Object
  extended byorg.scoja.server.core.ClusterSkeleton
      extended byorg.scoja.server.core.IterativeCluster
All Implemented Interfaces:
Cluster, java.lang.Runnable

public class IterativeCluster
extends ClusterSkeleton


Field Summary
protected  IterativeRutine rutine
           
 
Fields inherited from class org.scoja.server.core.ClusterSkeleton
currentThreadCount, DEFAULT_THREAD_COUNT, isRunning, maxThreadCount, stopRequested, threads
 
Constructor Summary
IterativeCluster(IterativeRutine rutine)
           
 
Method Summary
 void executeStep()
           
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 boolean shouldKeepAlive()
           
 
Methods inherited from class org.scoja.server.core.ClusterSkeleton
getCurrentThreads, getThreads, isRunning, setThreads, shouldStop, start, startAllThreads, startAnotherThread, stopRequested, threadStopped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rutine

protected final IterativeRutine rutine
Constructor Detail

IterativeCluster

public IterativeCluster(IterativeRutine rutine)
Method Detail

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.


shouldKeepAlive

public boolean shouldKeepAlive()

executeStep

public void executeStep()