Interface ODistributedMessageLog
- All Known Implementing Classes:
ODistributedMessageLogMemory
public interface ODistributedMessageLog
-
Method Summary
Modifier and TypeMethodDescriptionvoidcleanFrom(long[] status) Remove from the log all the messages up to the provided statusvoidlog(ODistributedMessage message) Log received message for eventually re-send to other nodesrecover(List<OTransactionId> ids) Recover the messages with specified ids from the log.
-
Method Details
-
log
Log received message for eventually re-send to other nodes- Parameters:
message- to log
-
recover
Recover the messages with specified ids from the log. The current implementation just miss from the result the messages that cannot be found.- Parameters:
ids- of messages to search- Returns:
- list of found messages
-
cleanFrom
void cleanFrom(long[] status) Remove from the log all the messages up to the provided status- Parameters:
status- clean state to use as base
-