Class CSTRequestFGT1
- java.lang.Object
-
- bftsmart.statemanagement.durability.CSTRequest
-
- bftsmart.statemanagement.durability.CSTRequestFGT1
-
- All Implemented Interfaces:
java.io.Serializable
public class CSTRequestFGT1 extends CSTRequest
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 inherited from class bftsmart.statemanagement.durability.CSTRequest
checkpointReplica, cid
-
-
Constructor Summary
Constructors Constructor Description CSTRequestFGT1(int cid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defineReplicas(int[] processes, int globalCkpPeriod, int replicaId)
int
getHashesReplica()
int
getLogSize()
int
getNbrHashesBeforeCkp()
-
Methods inherited from class bftsmart.statemanagement.durability.CSTRequest
getCheckpointReplica, getCID
-
-
-
-
Method Detail
-
getHashesReplica
public int getHashesReplica()
-
getNbrHashesBeforeCkp
public int getNbrHashesBeforeCkp()
-
getLogSize
public int getLogSize()
-
defineReplicas
public void defineReplicas(int[] processes, int globalCkpPeriod, int replicaId)
- Specified by:
defineReplicas
in classCSTRequest
-
-