public class SourceCodeRecordingMetricsCollector extends java.lang.Object implements SourceCodeRecordingListener
| Constructor and Description |
|---|
SourceCodeRecordingMetricsCollector() |
| Modifier and Type | Method and Description |
|---|---|
long |
getLastSnapshotProcessingTimeNano() |
int |
getTotalSnapshots() |
boolean |
isCurrentlyRecording() |
void |
notifyRecordingEnd() |
void |
notifyRecordingStart(java.nio.file.Path destinationPath) |
void |
notifySnapshotEnd(long timestamp,
java.util.concurrent.TimeUnit unit) |
void |
notifySnapshotStart(long timestamp,
java.util.concurrent.TimeUnit unit) |
public void notifyRecordingStart(java.nio.file.Path destinationPath)
notifyRecordingStart in interface SourceCodeRecordingListenerpublic void notifySnapshotStart(long timestamp,
java.util.concurrent.TimeUnit unit)
notifySnapshotStart in interface SourceCodeRecordingListenerpublic void notifySnapshotEnd(long timestamp,
java.util.concurrent.TimeUnit unit)
notifySnapshotEnd in interface SourceCodeRecordingListenerpublic void notifyRecordingEnd()
notifyRecordingEnd in interface SourceCodeRecordingListenerpublic boolean isCurrentlyRecording()
public int getTotalSnapshots()
public long getLastSnapshotProcessingTimeNano()