Package org.neo4j.gds.core.utils
Class ProgressTimer
- java.lang.Object
-
- org.neo4j.gds.core.utils.ProgressTimer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ProgressTimer extends java.lang.Object implements java.lang.AutoCloseable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
long
getDuration()
static ProgressTimer
start()
static ProgressTimer
start(java.util.function.LongConsumer onStop)
ProgressTimer
stop()
-
-
-
Method Detail
-
stop
public ProgressTimer stop()
-
getDuration
public long getDuration()
-
start
public static ProgressTimer start(java.util.function.LongConsumer onStop)
-
start
public static ProgressTimer start()
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-