Class ProgressTracker.EmptyProgressTracker
- java.lang.Object
-
- org.neo4j.gds.core.utils.progress.tasks.ProgressTracker.EmptyProgressTracker
-
- All Implemented Interfaces:
ProgressTracker
- Enclosing interface:
- ProgressTracker
public static class ProgressTracker.EmptyProgressTracker extends java.lang.Object implements ProgressTracker
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.neo4j.gds.core.utils.progress.tasks.ProgressTracker
ProgressTracker.EmptyProgressTracker
-
-
Field Summary
-
Fields inherited from interface org.neo4j.gds.core.utils.progress.tasks.ProgressTracker
NULL_TRACKER
-
-
Constructor Summary
Constructors Constructor Description EmptyProgressTracker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginSubTask()voidbeginSubTask(long taskVolume)voidbeginSubTask(java.lang.String expectedTaskDescription)voidbeginSubTask(java.lang.String expectedTaskDescription, long taskVolume)longcurrentVolume()Returns the task volume of the currently running task orTask.UNKNOWN_VOLUMEif no task volume is set.voidendSubTask()voidendSubTask(java.lang.String expectedTaskDescription)voidendSubTaskWithFailure()voidendSubTaskWithFailure(java.lang.String expectedTaskDescription)voidlogMessage(LogLevel level, java.lang.String message)voidlogProgress(long value)voidlogProgress(long value, java.lang.String messageTemplate)voidlogSteps(long steps)voidrelease()voidsetEstimatedResourceFootprint(org.neo4j.gds.core.utils.mem.MemoryRange memoryRangeInBytes, int concurrency)voidsetSteps(long steps)voidsetVolume(long volume)-
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.core.utils.progress.tasks.ProgressTracker
logDebug, logInfo, logProgress, logWarning
-
-
-
-
Method Detail
-
setEstimatedResourceFootprint
public void setEstimatedResourceFootprint(org.neo4j.gds.core.utils.mem.MemoryRange memoryRangeInBytes, int concurrency)- Specified by:
setEstimatedResourceFootprintin interfaceProgressTracker
-
beginSubTask
public void beginSubTask()
- Specified by:
beginSubTaskin interfaceProgressTracker
-
beginSubTask
public void beginSubTask(long taskVolume)
- Specified by:
beginSubTaskin interfaceProgressTracker
-
endSubTask
public void endSubTask()
- Specified by:
endSubTaskin interfaceProgressTracker
-
beginSubTask
public void beginSubTask(java.lang.String expectedTaskDescription)
- Specified by:
beginSubTaskin interfaceProgressTracker
-
beginSubTask
public void beginSubTask(java.lang.String expectedTaskDescription, long taskVolume)- Specified by:
beginSubTaskin interfaceProgressTracker
-
endSubTask
public void endSubTask(java.lang.String expectedTaskDescription)
- Specified by:
endSubTaskin interfaceProgressTracker
-
logProgress
public void logProgress(long value)
- Specified by:
logProgressin interfaceProgressTracker
-
logProgress
public void logProgress(long value, java.lang.String messageTemplate)- Specified by:
logProgressin interfaceProgressTracker
-
setVolume
public void setVolume(long volume)
- Specified by:
setVolumein interfaceProgressTracker
-
currentVolume
public long currentVolume()
Description copied from interface:ProgressTrackerReturns the task volume of the currently running task orTask.UNKNOWN_VOLUMEif no task volume is set.- Specified by:
currentVolumein interfaceProgressTracker
-
setSteps
public void setSteps(long steps)
- Specified by:
setStepsin interfaceProgressTracker
-
logSteps
public void logSteps(long steps)
- Specified by:
logStepsin interfaceProgressTracker
-
logMessage
public void logMessage(LogLevel level, java.lang.String message)
- Specified by:
logMessagein interfaceProgressTracker
-
release
public void release()
- Specified by:
releasein interfaceProgressTracker
-
endSubTaskWithFailure
public void endSubTaskWithFailure()
- Specified by:
endSubTaskWithFailurein interfaceProgressTracker
-
endSubTaskWithFailure
public void endSubTaskWithFailure(java.lang.String expectedTaskDescription)
- Specified by:
endSubTaskWithFailurein interfaceProgressTracker
-
-