Uses of Record Class
io.atomix.storage.journal.index.Position
Packages that use Position
Package
Description
Provides classes and interfaces for efficiently managing journal indexes.
-
Uses of Position in io.atomix.storage.journal.index
Methods in io.atomix.storage.journal.index that return PositionModifier and TypeMethodDescription@NonNull PositionJournalIndex.index(long index, int position) Adds an entry for the given index at the given position.SparseJournalIndex.index(long index, int position) @Nullable PositionJournalIndex.last()Return the last position known to this index.SparseJournalIndex.last()@Nullable PositionJournalIndex.lookup(long index) Looks up the position of the given index.SparseJournalIndex.lookup(long index) static @Nullable PositionPosition.ofNullable(Map.Entry<Long, Integer> entry) @Nullable PositionJournalIndex.truncate(long index) Truncates the index to the given index and returns its position, if available.SparseJournalIndex.truncate(long index)