public class NopStateMachine extends Object implements org.jgroups.protocols.raft.StateMachine
org.jgroups.protocols.raft.StateMachine) that dose nothing.| Constructor and Description |
|---|
NopStateMachine() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
apply(byte[] bytes,
int offset,
int length) |
void |
readContentFrom(DataInput dataInput) |
void |
writeContentTo(DataOutput dataOutput) |
public byte[] apply(byte[] bytes,
int offset,
int length)
throws Exception
apply in interface org.jgroups.protocols.raft.StateMachineExceptionpublic void readContentFrom(DataInput dataInput) throws Exception
readContentFrom in interface org.jgroups.protocols.raft.StateMachineExceptionpublic void writeContentTo(DataOutput dataOutput) throws Exception
writeContentTo in interface org.jgroups.protocols.raft.StateMachineExceptionApache Camel