Class CSTRequest
- java.lang.Object
-
- bftsmart.statemanagement.durability.CSTRequest
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CSTRequestF1
,CSTRequestFGT1
public abstract class CSTRequest extends java.lang.Object implements java.io.Serializable
This class is used to define the roles in the Collaborative State Transfer protocol. The recovering replica uses this class to define which replicas should send the checkpoint, log of opperations lower and higher portions- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
checkpointReplica
id of the replica responsible for sending the checkpoint;protected int
cid
-
Constructor Summary
Constructors Constructor Description CSTRequest(int cid)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
defineReplicas(int[] processes, int globalCkpPeriod, int replicaId)
int
getCheckpointReplica()
int
getCID()
-