Package org.neo4j.gds.termination
Class TerminationFlagImpl
- java.lang.Object
-
- org.neo4j.gds.termination.TerminationFlagImpl
-
- All Implemented Interfaces:
TerminationFlag
public class TerminationFlagImpl extends java.lang.Object implements TerminationFlag
-
-
Field Summary
-
Fields inherited from interface org.neo4j.gds.termination.TerminationFlag
DEFAULT, RUN_CHECK_NODE_COUNT, RUNNING_TRUE, STOP_RUNNING
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanrunning()voidterminate()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.neo4j.gds.termination.TerminationFlag
assertRunning
-
-
-
-
Method Detail
-
running
public boolean running()
- Specified by:
runningin interfaceTerminationFlag
-
terminate
public void terminate()
- Specified by:
terminatein interfaceTerminationFlag
-
-