Package io.atomix.protocols.gossip
Interface TimestampProvider<E>
- All Known Implementing Classes:
TimestampProviders
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Beta @FunctionalInterface public interface TimestampProvider<E>
Timestamp provider.
-
Method Details
-
get
Returns the timestamp for the given entry.- Parameters:
entry- the entry for which to return the timestamp- Returns:
- the timestamp for the given entry
-