Uses of Record Class
com.usatiuk.kleppmanntree.CombinedTimestamp
Packages that use CombinedTimestamp
-
Uses of CombinedTimestamp in com.usatiuk.dhfs.jkleppmanntree.structs
Methods in com.usatiuk.dhfs.jkleppmanntree.structs that return types with arguments of type CombinedTimestampModifier and TypeMethodDescriptionorg.pcollections.PSortedMap
<CombinedTimestamp<Long, PeerId>, LogRecord<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>> JKleppmannTreePersistentData.log()
Returns the value of thelog
record component.org.pcollections.PMap
<PeerId, org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>>> JKleppmannTreePersistentData.queues()
Returns the value of thequeues
record component.Method parameters in com.usatiuk.dhfs.jkleppmanntree.structs with type arguments of type CombinedTimestampModifier and TypeMethodDescriptionJKleppmannTreePersistentData.withLog
(org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, LogRecord<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>> log) JKleppmannTreePersistentData.withQueues
(org.pcollections.PMap<PeerId, org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>>> queues) Constructor parameters in com.usatiuk.dhfs.jkleppmanntree.structs with type arguments of type CombinedTimestampModifierConstructorDescriptionJKleppmannTreePersistentData
(JObjectKey key, org.pcollections.PCollection<JDataRef> refsFrom, boolean frozen, long clock, org.pcollections.PMap<PeerId, org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>>> queues, org.pcollections.PMap<PeerId, Long> peerTimestampLog, org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, LogRecord<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>> log) Creates an instance of aJKleppmannTreePersistentData
record class.JKleppmannTreePersistentData
(JObjectKey key, org.pcollections.PCollection<JDataRef> refsFrom, boolean frozen, long clock, org.pcollections.PMap<PeerId, org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>>> queues, org.pcollections.PMap<PeerId, Long> peerTimestampLog, org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, LogRecord<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>> log) Creates an instance of aJKleppmannTreePersistentData
record class. -
Uses of CombinedTimestamp in com.usatiuk.kleppmanntree
Methods in com.usatiuk.kleppmanntree that return CombinedTimestampModifier and TypeMethodDescriptionOpMove.timestamp()
Returns the value of thetimestamp
record component.Methods in com.usatiuk.kleppmanntree that return types with arguments of type CombinedTimestampModifier and TypeMethodDescriptionList
<org.apache.commons.lang3.tuple.Pair<CombinedTimestamp<TimestampT, PeerIdT>, LogRecord<TimestampT, PeerIdT, MetaT, NodeIdT>>> LogInterface.getAll()
Return all the log entriesList
<org.apache.commons.lang3.tuple.Pair<CombinedTimestamp<TimestampT, PeerIdT>, LogRecord<TimestampT, PeerIdT, MetaT, NodeIdT>>> LogInterface.newestSlice
(CombinedTimestamp<TimestampT, PeerIdT> since, boolean inclusive) Return all log entries that are newer than the given timestamp.org.apache.commons.lang3.tuple.Pair
<CombinedTimestamp<TimestampT, PeerIdT>, LogRecord<TimestampT, PeerIdT, MetaT, NodeIdT>> LogInterface.peekNewest()
Peek the newest log entry.org.apache.commons.lang3.tuple.Pair
<CombinedTimestamp<TimestampT, PeerIdT>, LogRecord<TimestampT, PeerIdT, MetaT, NodeIdT>> LogInterface.peekOldest()
Peek the oldest log entry.org.apache.commons.lang3.tuple.Pair
<CombinedTimestamp<TimestampT, PeerIdT>, LogRecord<TimestampT, PeerIdT, MetaT, NodeIdT>> LogInterface.takeOldest()
Take the oldest log entry.Methods in com.usatiuk.kleppmanntree with parameters of type CombinedTimestampModifier and TypeMethodDescriptionint
CombinedTimestamp.compareTo
(CombinedTimestamp<TimestampT, PeerIdT> o) boolean
LogInterface.containsKey
(CombinedTimestamp<TimestampT, PeerIdT> timestamp) Checks if the log contains the given timestamp.List
<org.apache.commons.lang3.tuple.Pair<CombinedTimestamp<TimestampT, PeerIdT>, LogRecord<TimestampT, PeerIdT, MetaT, NodeIdT>>> LogInterface.newestSlice
(CombinedTimestamp<TimestampT, PeerIdT> since, boolean inclusive) Return all log entries that are newer than the given timestamp.void
LogInterface.put
(CombinedTimestamp<TimestampT, PeerIdT> timestamp, LogRecord<TimestampT, PeerIdT, MetaT, NodeIdT> record) Add a log entry to the log.void
LogInterface.replace
(CombinedTimestamp<TimestampT, PeerIdT> timestamp, LogRecord<TimestampT, PeerIdT, MetaT, NodeIdT> record) Replace a log entry in the log.Constructors in com.usatiuk.kleppmanntree with parameters of type CombinedTimestampModifierConstructorDescriptionOpMove
(CombinedTimestamp<TimestampT, PeerIdT> timestamp, NodeIdT newParentId, MetaT newMeta, NodeIdT childId) Creates an instance of aOpMove
record class.