Package org.teamapps.cluster.state
Klasse StateUpdate
java.lang.Object
org.teamapps.cluster.state.StateUpdate
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungStateUpdate(DataInputStream dis, org.teamapps.message.protocol.model.ModelRegistry modelRegistry, org.teamapps.message.protocol.file.FileDataReader fileProvider) StateUpdate(String stateMachine, List<StateUpdateMessage> stateUpdateMessages) StateUpdate(String stateMachine, List<StateUpdateMessage> stateUpdateMessages, List<ReplicatedStateTransactionRule> transactionConditions) StateUpdate(String stateMachine, StateUpdateMessage stateUpdateMessage) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunglongvoidsetUpdateId(long updateId) byte[]toBytes(org.teamapps.message.protocol.file.FileDataWriter fileDataWriter) voidwrite(DataOutputStream dos, org.teamapps.message.protocol.file.FileDataWriter fileDataWriter)
-
Konstruktordetails
-
StateUpdate
-
StateUpdate
-
StateUpdate
public StateUpdate(String stateMachine, List<StateUpdateMessage> stateUpdateMessages, List<ReplicatedStateTransactionRule> transactionConditions) -
StateUpdate
public StateUpdate(DataInputStream dis, org.teamapps.message.protocol.model.ModelRegistry modelRegistry, org.teamapps.message.protocol.file.FileDataReader fileProvider) throws IOException - Löst aus:
IOException
-
-
Methodendetails
-
getUpdateMessages
-
getTransactionConditions
-
getUpdateId
public long getUpdateId() -
setUpdateId
public void setUpdateId(long updateId) -
getStateMachine
-
write
public void write(DataOutputStream dos, org.teamapps.message.protocol.file.FileDataWriter fileDataWriter) throws IOException - Löst aus:
IOException
-
toBytes
public byte[] toBytes(org.teamapps.message.protocol.file.FileDataWriter fileDataWriter) throws IOException - Löst aus:
IOException
-