public interface TransactionLogRecord extends IdentifiedDataSerializable
Transaction
Modifier and Type | Method and Description |
---|---|
Object |
getKey()
Gets the transaction-log-key that uniquely identifies the
TransactionLogRecord within the TransactionLog . |
Operation |
newCommitOperation() |
Operation |
newPrepareOperation() |
Operation |
newRollbackOperation() |
getFactoryId, getId
readData, writeData
Object getKey()
TransactionLogRecord
within the TransactionLog
.
E.g. for a map that would be the map-name and the key. So if a map transactional put is done on some
key, and if later on another put on that key is done, by using the same transaction-log-key, the first
put is overwritten.
If null is returned, this TransactionLogRecord can't be identified and can't be overwritten by a later change.Operation newPrepareOperation()
Operation newCommitOperation()
Operation newRollbackOperation()
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.