|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgraph_cluster_utils.logger.Logger
public abstract class Logger
Base class of all supervisors.
Loggers are passed to Alg
implementations. They're used to delegate
logging operations to.
Constructor Summary | |
---|---|
Logger()
|
Method Summary | |
---|---|
abstract void |
doFinalSnapshot(org.neo4j.graphdb.GraphDatabaseService transNeo,
int clusterCount)
Perform logging/snapshot of the state of the current Neo4j instance. |
abstract void |
doInitialSnapshot(org.neo4j.graphdb.GraphDatabaseService transNeo,
int clusterCount)
Perform logging/snapshot of the state of the current Neo4j instance. |
abstract void |
doPeriodicSnapshot(org.neo4j.graphdb.GraphDatabaseService transNeo,
long timeStep,
int clusterCount)
Perform logging/snapshot of the state of the current Neo4j instance. |
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 Logger()
Method Detail |
---|
public abstract boolean isInitialSnapshot()
public abstract void doInitialSnapshot(org.neo4j.graphdb.GraphDatabaseService transNeo, int clusterCount)
transNeo
- GraphDatabaseService
implementation to be read from
during loggingclusterCount
- number of clusters the algorithm is either trying to find, or
has found so far (depending on use)public abstract boolean isPeriodicSnapshot(long timeStep)
timeStep
- represents the algorithms current iterationpublic abstract void doPeriodicSnapshot(org.neo4j.graphdb.GraphDatabaseService transNeo, long timeStep, int clusterCount)
transNeo
- GraphDatabaseService
implementation to be read from
during loggingtimeStep
- represents the algorithms current iterationclusterCount
- number of clusters the algorithm is either trying to find, or
has found so far (depending on use)public abstract boolean isFinalSnapshot()
public abstract void doFinalSnapshot(org.neo4j.graphdb.GraphDatabaseService transNeo, int clusterCount)
transNeo
- GraphDatabaseService
implementation to be read from
during loggingclusterCount
- number of clusters the algorithm is either trying to find, or
has found so far (depending on use)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |