public class DefaultTransactionalMapParticipant<K,V> extends TransactionalMapParticipant<K,V>
backingMap, deleteSet, lock, transaction, writeCache| Constructor and Description |
|---|
DefaultTransactionalMapParticipant(ConsistentMap<K,V> backingMap,
Transaction<MapUpdate<K,V>> transaction) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasPendingUpdates()
Returns a boolean indicating whether the participant has pending updates.
|
protected V |
read(K key)
Executes a get operation based on the transaction isolation level.
|
protected Stream<MapUpdate<K,V>> |
records(Version lockVersion)
Returns a stream of updates performed within this map partition.
|
commit, containsKey, get, log, prepare, prepareAndCommit, put, putIfAbsent, remove, remove, replace, rollback, toStringpublic DefaultTransactionalMapParticipant(ConsistentMap<K,V> backingMap, Transaction<MapUpdate<K,V>> transaction)
protected V read(K key)
TransactionalMapParticipantread in class TransactionalMapParticipant<K,V>key - the key to look uppublic boolean hasPendingUpdates()
TransactionParticipantprotected Stream<MapUpdate<K,V>> records(Version lockVersion)
TransactionalMapParticipantrecords in class TransactionalMapParticipant<K,V>lockVersion - the global transaction lock version