public static class AtomixDocumentTreeCommands.Update extends AtomixDocumentTreeCommands.DocumentTreeCommand<DocumentTreeUpdateResult<byte[]>>
| Constructor and Description |
|---|
Update() |
Update(DocumentPath path,
Optional<byte[]> value,
org.onlab.util.Match<byte[]> valueMatch,
org.onlab.util.Match<Long> versionMatch) |
| Modifier and Type | Method and Description |
|---|---|
io.atomix.copycat.Command.CompactionMode |
compaction() |
void |
readObject(io.atomix.catalyst.buffer.BufferInput<?> buffer,
io.atomix.catalyst.serializer.Serializer serializer) |
String |
toString() |
Optional<byte[]> |
value() |
org.onlab.util.Match<byte[]> |
valueMatch() |
org.onlab.util.Match<Long> |
versionMatch() |
void |
writeObject(io.atomix.catalyst.buffer.BufferOutput<?> buffer,
io.atomix.catalyst.serializer.Serializer serializer) |
pathpublic Update()
public Update(DocumentPath path, Optional<byte[]> value, org.onlab.util.Match<byte[]> valueMatch, org.onlab.util.Match<Long> versionMatch)
public Optional<byte[]> value()
public org.onlab.util.Match<byte[]> valueMatch()
public org.onlab.util.Match<Long> versionMatch()
public void writeObject(io.atomix.catalyst.buffer.BufferOutput<?> buffer,
io.atomix.catalyst.serializer.Serializer serializer)
writeObject in interface io.atomix.catalyst.serializer.CatalystSerializablewriteObject in class AtomixDocumentTreeCommands.DocumentTreeOperation<DocumentTreeUpdateResult<byte[]>>public void readObject(io.atomix.catalyst.buffer.BufferInput<?> buffer,
io.atomix.catalyst.serializer.Serializer serializer)
readObject in interface io.atomix.catalyst.serializer.CatalystSerializablereadObject in class AtomixDocumentTreeCommands.DocumentTreeOperation<DocumentTreeUpdateResult<byte[]>>public io.atomix.copycat.Command.CompactionMode compaction()