|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgraph_cluster_utils.supervisor.Supervisor
public abstract class Supervisor
Base class of all supervisors.
Supervisors are passed to AlgDisk
and AlgMem
implementations.
They're used to delegate logging and dynamism (CRUD) operations to.
Constructor Summary | |
---|---|
Supervisor()
|
Method Summary | |
---|---|
abstract void |
doDynamism(java.lang.String databaseDir)
Performed dynamism on given database. |
abstract void |
doFinalSnapshot(int clusterCount,
java.lang.String databaseDir)
Perform logging/snapshot of the state of the current Neo4j instance. |
abstract void |
doInitialSnapshot(int clusterCount,
java.lang.String databaseDir)
Perform logging/snapshot of the state of the current Neo4j instance. |
abstract void |
doPeriodicSnapshot(long timeStep,
int clusterCount,
java.lang.String databaseDir)
Perform logging/snapshot of the state of the current Neo4j instance. |
abstract boolean |
isDynamism(int timeStep)
Checks if dynamism should performed at this timeStep. |
abstract boolean |
isFinalSnapshot()
Checks if final logging/snapshot should be performed. |
abstract boolean |
isInitialSnapshot()
Checks if initial logging/snapshot should be performed. |
abstract boolean |
isPeriodicSnapshot(long timeStep)
Checks if logging/snapshot should be performed at this time step. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Supervisor()
Method Detail |
---|
public abstract boolean isDynamism(int timeStep)
timeStep
- represents the algorithms current iterationpublic abstract void doDynamism(java.lang.String databaseDir)
databaseDir
- path to a Neo4j instancepublic abstract boolean isInitialSnapshot()
public abstract void doInitialSnapshot(int clusterCount, java.lang.String databaseDir)
clusterCount
- number of clusters the algorithm is either trying to find, or
has found so far (depending on use)databaseDir
- path to a Neo4j instancepublic abstract boolean isPeriodicSnapshot(long timeStep)
timeStep
- represents the algorithms current iterationpublic abstract void doPeriodicSnapshot(long timeStep, int clusterCount, java.lang.String databaseDir)
timeStep
- represents the algorithms current iterationclusterCount
- number of clusters the algorithm is either trying to find, or
has found so far (depending on use)databaseDir
- path to a Neo4j instancepublic abstract boolean isFinalSnapshot()
public abstract void doFinalSnapshot(int clusterCount, java.lang.String databaseDir)
clusterCount
- number of clusters the algorithm is either trying to find, or
has found so far (depending on use)databaseDir
- path to a Neo4j instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |