public class IgniteTxRemoteSingleStateImpl extends IgniteTxRemoteStateAdapter
Constructor and Description |
---|
IgniteTxRemoteSingleStateImpl() |
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 part) |
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, awaitLastFut, firstCacheId, hasInterceptor, hasNearCache, implicitSingle, onTxEnd, singleCacheContext, storeWriteThrough, syncMode, topologyReadLock, topologyReadUnlock, validateTopology
public void unwindEvicts(GridCacheSharedContext cctx)
cctx
- Grid cache shared context.public void addWriteEntry(IgniteTxKey key, IgniteTxEntry e)
key
- Key.e
- Entry.public void clearEntry(IgniteTxKey key)
key
- Entry key.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 Collection<IgniteTxEntry> allEntries()
@Nullable public IgniteTxEntry singleWrite()
public void invalidPartition(int part)
part
- Partition number.public Collection<CacheStoreManager> stores(GridCacheSharedContext cctx)
cctx
- Context.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017