public abstract static class AtomixLeaderElectorCommands.ElectionChangeCommand<V> extends AtomixLeaderElectorCommands.ElectionCommand<V>
| Constructor and Description |
|---|
ElectionChangeCommand(String topic,
NodeId nodeId) |
| Modifier and Type | Method and Description |
|---|---|
io.atomix.copycat.Command.CompactionMode |
compaction() |
NodeId |
nodeId()
Returns the nodeId to make leader.
|
void |
readObject(io.atomix.catalyst.buffer.BufferInput<?> buffer,
io.atomix.catalyst.serializer.Serializer serializer) |
String |
topic()
Returns the topic.
|
String |
toString() |
void |
writeObject(io.atomix.catalyst.buffer.BufferOutput<?> buffer,
io.atomix.catalyst.serializer.Serializer serializer) |
public String topic()
public NodeId nodeId()
public io.atomix.copycat.Command.CompactionMode compaction()
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 AtomixLeaderElectorCommands.ElectionCommand<V>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 AtomixLeaderElectorCommands.ElectionCommand<V>