Package | Description |
---|---|
bftsmart.statemanagement.strategy.durability | |
bftsmart.tom.server.defaultservices |
Modifier and Type | Method and Description |
---|---|
CommandsInfo[] |
CSTState.getLogLower() |
CommandsInfo[] |
CSTState.getLogUpper() |
CommandsInfo |
CSTState.getMessageBatch(int eid)
Retrieves the specified batch of messages
|
Constructor and Description |
---|
CSTState(byte[] state,
byte[] hashCheckpoint,
CommandsInfo[] logLower,
byte[] hashLogLower,
CommandsInfo[] logUpper,
byte[] hashLogUpper,
int checkpointEid,
int lastEid) |
CSTState(byte[] state,
byte[] hashCheckpoint,
CommandsInfo[] logLower,
byte[] hashLogLower,
CommandsInfo[] logUpper,
byte[] hashLogUpper,
int checkpointEid,
int lastEid) |
Modifier and Type | Method and Description |
---|---|
CommandsInfo[] |
FileRecoverer.getLogState(int index) |
CommandsInfo[] |
FileRecoverer.getLogState(long pointer,
int startOffset,
int number)
Recover portions of the log for collaborative state transfer.
|
CommandsInfo |
DefaultApplicationState.getMessageBatch(int eid)
Retrieves the specified batch of messages
|
CommandsInfo |
StateLog.getMessageBatch(int eid)
Returns a batch of messages, given its correspondent execution ID
|
CommandsInfo[] |
DefaultApplicationState.getMessageBatches()
Retrieves all batches of messages
|
CommandsInfo[] |
StateLog.getMessageBatches()
Retrieves all the stored batches kept since the last checkpoint
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultApplicationState.setMessageBatches(CommandsInfo[] messageBatches) |
Constructor and Description |
---|
DefaultApplicationState(CommandsInfo[] messageBatches,
byte[] logHash,
int lastCheckpointEid,
int lastCheckpointRound,
int lastCheckpointLeader,
int lastEid,
byte[] state,
byte[] stateHash) |
DefaultApplicationState(CommandsInfo[] messageBatches,
int lastCheckpointEid,
int lastCheckpointRound,
int lastCheckpointLeader,
int lastEid,
byte[] state,
byte[] stateHash)
Constructs a TansferableState
This constructor should be used when there is a valid state to construct the object with
|