public class RemoteTransaction extends AbstractCacheTransaction implements Cloneable
affectedKeys, backupKeyLocks, hasLocalOnlyModifications, keyEquivalence, lockedKeys, lookedUpEntries, modifications, topologyId, tx
Constructor and Description |
---|
RemoteTransaction(GlobalTransaction tx,
int topologyId,
Equivalence<Object> keyEquivalence) |
RemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx,
int topologyId,
Equivalence<Object> keyEquivalence) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object o) |
TotalOrderRemoteTransactionState |
getTransactionState() |
int |
hashCode() |
int |
lookedUpEntriesTopology() |
void |
putLookedUpEntries(Map<Object,CacheEntry> entries) |
void |
putLookedUpEntry(Object key,
CacheEntry e) |
void |
setLookedUpEntriesTopology(int lookedUpEntriesTopology) |
boolean |
skipTransactionCompleteCheck() |
void |
skipTransactionCompleteCheck(boolean skip) |
String |
toString() |
addAffectedKey, addAllAffectedKeys, addBackupLockForKey, addReadKey, addVersionRead, clearLockedKeys, clearLookedUpEntries, getAffectedKeys, getAllModifications, getBackupLockedKeys, getGlobalTransaction, getLockedKeys, getLookedUpEntries, getLookedUpRemoteVersion, getModifications, getTopologyId, getUpdatedEntryVersions, getVersionsRead, hasModification, isMarkedForRollback, keyRead, lookupEntry, markForRollback, notifyOnTransactionFinished, ownsLock, putLookedUpRemoteVersion, registerLockedKey, removeLookedUpEntry, replaceVersionRead, setModifications, setUpdatedEntryVersions, waitForLockRelease
public RemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId, Equivalence<Object> keyEquivalence)
public RemoteTransaction(GlobalTransaction tx, int topologyId, Equivalence<Object> keyEquivalence)
public void putLookedUpEntry(Object key, CacheEntry e)
putLookedUpEntry
in interface CacheTransaction
public void putLookedUpEntries(Map<Object,CacheEntry> entries)
putLookedUpEntries
in interface CacheTransaction
public void setLookedUpEntriesTopology(int lookedUpEntriesTopology)
public int lookedUpEntriesTopology()
public void skipTransactionCompleteCheck(boolean skip)
public boolean skipTransactionCompleteCheck()
public final TotalOrderRemoteTransactionState getTransactionState()
TotalOrderRemoteTransactionState
associated to this remote transactionCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.