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 Summary

    Modifier and Type Method Description
    io.atomix.utils.time.Timestamp get​(E entry)
    Returns the timestamp for the given entry.
  • Method Details

    • get

      io.atomix.utils.time.Timestamp get​(E entry)
      Returns the timestamp for the given entry.
      Parameters:
      entry - the entry for which to return the timestamp
      Returns:
      the timestamp for the given entry