Package com.exasol.bucketfs.monitor
Class TimestampRetriever
- java.lang.Object
-
- com.exasol.bucketfs.monitor.TimestampRetriever
-
- All Implemented Interfaces:
BucketFsMonitor.StateRetriever
public class TimestampRetriever extends Object implements BucketFsMonitor.StateRetriever
Retrieves the initialTimestampState, i.e. the current instant in time. This allows rejecting events that happened at an earlier point in time.
-
-
Constructor Summary
Constructors Constructor Description TimestampRetriever()
-
-
-
Method Detail
-
getState
public BucketFsMonitor.State getState()
- Specified by:
getStatein interfaceBucketFsMonitor.StateRetriever- Returns:
- state as currently observed by the monitor
-
-