public class DefaultTransactionalMapParticipant<K,V> extends TransactionalMapParticipant<K,V>
backingMap, deleteSet, lock, log, transaction, writeCache| Constructor and Description |
|---|
DefaultTransactionalMapParticipant(org.onosproject.store.service.ConsistentMap<K,V> backingMap,
Transaction<org.onosproject.store.primitives.MapUpdate<K,V>> transaction) |
| Modifier and Type | Method and Description |
|---|---|
protected V |
read(K key)
Executes a get operation based on the transaction isolation level.
|
protected Stream<org.onosproject.store.primitives.MapUpdate<K,V>> |
records()
Returns a stream of updates performed within this map partition.
|
commit, containsKey, get, hasPendingUpdates, log, prepare, prepareAndCommit, put, putIfAbsent, remove, remove, replace, rollback, toStringpublic DefaultTransactionalMapParticipant(org.onosproject.store.service.ConsistentMap<K,V> backingMap, Transaction<org.onosproject.store.primitives.MapUpdate<K,V>> transaction)
protected V read(K key)
TransactionalMapParticipantread in class TransactionalMapParticipant<K,V>key - the key to look upprotected Stream<org.onosproject.store.primitives.MapUpdate<K,V>> records()
TransactionalMapParticipantrecords in class TransactionalMapParticipant<K,V>