public class NoOpCommand extends Object implements Command<Void>, CatalystSerializable
No-op commands are submitted by clients to the cluster to complete missing command sequence numbers. Copycat clusters require that clients submit commands in sequential order and use a client-provided sequence number to ensure FIFO ordering of operations submitted to the cluster. In the event that a command fails to be committed to the cluster, a client can resubmit a no-op command to ensure command sequence numbers continue to progress.
Command.CompactionMode| Constructor and Description |
|---|
NoOpCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
readObject(BufferInput<?> buffer,
Serializer serializer) |
String |
toString() |
void |
writeObject(BufferOutput<?> buffer,
Serializer serializer) |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitcompactionpublic void writeObject(BufferOutput<?> buffer, Serializer serializer)
writeObject in interface CatalystSerializablepublic void readObject(BufferInput<?> buffer, Serializer serializer)
readObject in interface CatalystSerializableCopyright © 2013–2016. All rights reserved.