Package one.microstream.storage.types
Interface StorageTimestampProvider
- All Known Implementing Classes:
- StorageTimestampProvider.Default
public interface StorageTimestampProvider
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classStorageTimestampProvider.Default
- 
Method SummaryModifier and Type Method Description longcurrentNanoTimestamp()Provides the current timestamp in nanosecond precision but not necessarily in nanosecond accuracy.
- 
Method Details- 
currentNanoTimestamplong currentNanoTimestamp()Provides the current timestamp in nanosecond precision but not necessarily in nanosecond accuracy. However it is guaranteed that subsequent calls of this method never return an equal or lower value.- Returns:
- a strictly monotone increasing timestamp with nanosecond precision.
 
 
-