Package one.microstream.storage.types
Class StorageTimestampProvider.Default
java.lang.Object
one.microstream.storage.types.StorageTimestampProvider.Default
- All Implemented Interfaces:
- StorageTimestampProvider
- Enclosing interface:
- StorageTimestampProvider
public static final class StorageTimestampProvider.Default extends Object implements StorageTimestampProvider
- 
Nested Class SummaryNested classes/interfaces inherited from interface one.microstream.storage.types.StorageTimestampProviderStorageTimestampProvider.Default
- 
Constructor SummaryConstructors Constructor Description Default()
- 
Method SummaryModifier and Type Method Description longcurrentNanoTimestamp()Provides the current timestamp in nanosecond precision but not necessarily in nanosecond accuracy.
- 
Constructor Details- 
Defaultpublic Default()
 
- 
- 
Method Details- 
currentNanoTimestamppublic long currentNanoTimestamp()Description copied from interface:StorageTimestampProviderProvides 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.- Specified by:
- currentNanoTimestampin interface- StorageTimestampProvider
- Returns:
- a strictly monotone increasing timestamp with nanosecond precision.
 
 
-