public class AtomixConsistentTreeMapState
extends io.atomix.resource.ResourceStateMachine
implements io.atomix.copycat.server.session.SessionListener
AtomixConsistentTreeMap backed by a
TreeMap.| Constructor and Description |
|---|
AtomixConsistentTreeMapState(Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
protected Map.Entry<String,Versioned<byte[]>> |
ceilingEntry(io.atomix.copycat.server.Commit<AtomixConsistentTreeMapCommands.CeilingEntry> commit) |
protected String |
ceilingKey(io.atomix.copycat.server.Commit<AtomixConsistentTreeMapCommands.CeilingKey> commit) |
protected MapEntryUpdateResult.Status |
clear(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.Clear> commit) |
void |
close(io.atomix.copycat.server.session.ServerSession session) |
void |
configure(io.atomix.copycat.server.StateMachineExecutor executor) |
protected boolean |
containsKey(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.ContainsKey> commit) |
protected boolean |
containsValue(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.ContainsValue> commit) |
void |
delete() |
protected Set<Map.Entry<String,Versioned<byte[]>>> |
entrySet(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.EntrySet> commit) |
void |
expire(io.atomix.copycat.server.session.ServerSession session) |
protected Map.Entry<String,Versioned<byte[]>> |
firstEntry(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.FirstEntry> commit) |
protected String |
firstKey(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.FirstKey> commit) |
protected Map.Entry<String,Versioned<byte[]>> |
floorEntry(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.FloorEntry> commit) |
protected String |
floorKey(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.FloorKey> commit) |
protected Versioned<byte[]> |
get(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.Get> commit) |
protected Versioned<byte[]> |
getOrDefault(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.GetOrDefault> commit) |
protected Map.Entry<String,Versioned<byte[]>> |
higherEntry(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.HigherEntry> commit) |
protected String |
higherKey(io.atomix.copycat.server.Commit<AtomixConsistentTreeMapCommands.HigherKey> commit) |
protected boolean |
isEmpty(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.IsEmpty> commit) |
protected Set<String> |
keySet(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.KeySet> commit) |
protected Map.Entry<String,Versioned<byte[]>> |
lastEntry(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.LastEntry> commit) |
protected String |
lastKey(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.LastKey> commit) |
protected void |
listen(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.Listen> commit) |
protected Map.Entry<String,Versioned<byte[]>> |
lowerEntry(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.LowerEntry> commit) |
protected String |
lowerKey(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.LowerKey> commit) |
protected Map.Entry<String,Versioned<byte[]>> |
pollFirstEntry(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.PollFirstEntry> commit) |
protected Map.Entry<String,Versioned<byte[]>> |
pollLastEntry(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.PollLastEntry> commit) |
void |
register(io.atomix.copycat.server.session.ServerSession session) |
protected int |
size(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.Size> commit) |
protected NavigableMap<String,org.onosproject.store.primitives.resources.impl.AtomixConsistentTreeMapState.TreeMapEntryValue> |
subMap(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.SubMap> commit) |
protected void |
unlisten(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.Unlisten> commit) |
void |
unregister(io.atomix.copycat.server.session.ServerSession session) |
protected MapEntryUpdateResult<String,byte[]> |
updateAndGet(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.UpdateAndGet> commit) |
protected Collection<Versioned<byte[]>> |
values(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.Values> commit) |
public AtomixConsistentTreeMapState(Properties properties)
public void configure(io.atomix.copycat.server.StateMachineExecutor executor)
configure in class io.atomix.copycat.server.StateMachinepublic void delete()
delete in class io.atomix.resource.ResourceStateMachineprotected boolean containsKey(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.ContainsKey> commit)
protected boolean containsValue(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.ContainsValue> commit)
protected Versioned<byte[]> get(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.Get> commit)
protected Versioned<byte[]> getOrDefault(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.GetOrDefault> commit)
protected int size(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.Size> commit)
protected boolean isEmpty(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.IsEmpty> commit)
protected Set<String> keySet(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.KeySet> commit)
protected Collection<Versioned<byte[]>> values(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.Values> commit)
protected Set<Map.Entry<String,Versioned<byte[]>>> entrySet(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.EntrySet> commit)
protected MapEntryUpdateResult<String,byte[]> updateAndGet(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.UpdateAndGet> commit)
protected MapEntryUpdateResult.Status clear(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.Clear> commit)
protected void listen(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.Listen> commit)
protected void unlisten(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.Unlisten> commit)
protected NavigableMap<String,org.onosproject.store.primitives.resources.impl.AtomixConsistentTreeMapState.TreeMapEntryValue> subMap(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.SubMap> commit)
protected String firstKey(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.FirstKey> commit)
protected String lastKey(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.LastKey> commit)
protected Map.Entry<String,Versioned<byte[]>> higherEntry(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.HigherEntry> commit)
protected Map.Entry<String,Versioned<byte[]>> firstEntry(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.FirstEntry> commit)
protected Map.Entry<String,Versioned<byte[]>> lastEntry(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.LastEntry> commit)
protected Map.Entry<String,Versioned<byte[]>> pollFirstEntry(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.PollFirstEntry> commit)
protected Map.Entry<String,Versioned<byte[]>> pollLastEntry(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.PollLastEntry> commit)
protected Map.Entry<String,Versioned<byte[]>> lowerEntry(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.LowerEntry> commit)
protected String lowerKey(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.LowerKey> commit)
protected Map.Entry<String,Versioned<byte[]>> floorEntry(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.FloorEntry> commit)
protected String floorKey(io.atomix.copycat.server.Commit<? extends AtomixConsistentTreeMapCommands.FloorKey> commit)
protected Map.Entry<String,Versioned<byte[]>> ceilingEntry(io.atomix.copycat.server.Commit<AtomixConsistentTreeMapCommands.CeilingEntry> commit)
protected String ceilingKey(io.atomix.copycat.server.Commit<AtomixConsistentTreeMapCommands.CeilingKey> commit)
protected String higherKey(io.atomix.copycat.server.Commit<AtomixConsistentTreeMapCommands.HigherKey> commit)
public void register(io.atomix.copycat.server.session.ServerSession session)
register in interface io.atomix.copycat.server.session.SessionListenerregister in class io.atomix.resource.ResourceStateMachinepublic void unregister(io.atomix.copycat.server.session.ServerSession session)
unregister in interface io.atomix.copycat.server.session.SessionListenerunregister in class io.atomix.resource.ResourceStateMachinepublic void expire(io.atomix.copycat.server.session.ServerSession session)
expire in interface io.atomix.copycat.server.session.SessionListenerexpire in class io.atomix.resource.ResourceStateMachinepublic void close(io.atomix.copycat.server.session.ServerSession session)
close in interface io.atomix.copycat.server.session.SessionListenerclose in class io.atomix.resource.ResourceStateMachine