public class IgniteTxRemoteStateImpl extends IgniteTxRemoteStateAdapter
| Modifier and Type | Field and Description |
|---|---|
protected Map<IgniteTxKey,IgniteTxEntry> |
readMap
Read set.
|
protected Map<IgniteTxKey,IgniteTxEntry> |
writeMap
Write map.
|
mvccEnabled| Constructor and Description |
|---|
IgniteTxRemoteStateImpl(Map<IgniteTxKey,IgniteTxEntry> readMap,
Map<IgniteTxKey,IgniteTxEntry> writeMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
addWriteEntry(IgniteTxKey key,
IgniteTxEntry e) |
Collection<IgniteTxEntry> |
allEntries() |
void |
clearEntry(IgniteTxKey key) |
boolean |
empty() |
IgniteTxEntry |
entry(IgniteTxKey key) |
boolean |
hasWriteKey(IgniteTxKey key) |
void |
invalidPartition(int cacheId,
int part,
GridCacheVersion version) |
Collection<IgniteTxEntry> |
readEntries() |
Map<IgniteTxKey,IgniteTxEntry> |
readMap() |
Set<IgniteTxKey> |
readSet() |
IgniteTxEntry |
singleWrite() |
Collection<CacheStoreManager> |
stores(GridCacheSharedContext cctx) |
String |
toString() |
void |
unwindEvicts(GridCacheSharedContext cctx)
Unwind evicts for caches involved in this transaction.
|
Collection<IgniteTxEntry> |
writeEntries() |
Map<IgniteTxKey,IgniteTxEntry> |
writeMap() |
Set<IgniteTxKey> |
writeSet() |
addActiveCache, awaitLastFuture, cacheIds, firstCacheId, hasInterceptor, implicitSingle, mvccEnabled, onTxEnd, singleCacheContext, storeWriteThrough, syncMode, topologyReadLock, topologyReadUnlock, useMvccCaching, validateTopology@GridToStringInclude protected Map<IgniteTxKey,IgniteTxEntry> readMap
@GridToStringInclude protected Map<IgniteTxKey,IgniteTxEntry> writeMap
public IgniteTxRemoteStateImpl(Map<IgniteTxKey,IgniteTxEntry> readMap, Map<IgniteTxKey,IgniteTxEntry> writeMap)
readMap - Read map.writeMap - Write map.public void unwindEvicts(GridCacheSharedContext cctx)
cctx - Grid cache shared context.public IgniteTxEntry entry(IgniteTxKey key)
key - Key.public boolean hasWriteKey(IgniteTxKey key)
key - Key.True if tx has write key.public Set<IgniteTxKey> readSet()
public Set<IgniteTxKey> writeSet()
public Collection<IgniteTxEntry> writeEntries()
public Collection<IgniteTxEntry> readEntries()
public Map<IgniteTxKey,IgniteTxEntry> writeMap()
public Map<IgniteTxKey,IgniteTxEntry> readMap()
public boolean empty()
True if transaction is empty.public void addWriteEntry(IgniteTxKey key, IgniteTxEntry e)
key - Key.e - Entry.public void clearEntry(IgniteTxKey key)
key - Entry key.public Collection<IgniteTxEntry> allEntries()
public IgniteTxEntry singleWrite()
public void invalidPartition(int cacheId,
int part,
GridCacheVersion version)
cacheId - Cache id.part - Partition number.version - Lock version.public Collection<CacheStoreManager> stores(GridCacheSharedContext cctx)
cctx - Context.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023