@Deprecated public class OptimisticTxInterceptor extends TxInterceptor
TxInterceptor.| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.cache.interceptors.OptimisticTxInterceptor.ModificationsReplayVisitor |
replayVisitor
Deprecated.
|
commandsFactory, optimistic, rpcManagertxManager, txTableconfiguration, log, trace| Constructor and Description |
|---|
OptimisticTxInterceptor()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected PrepareCommand |
buildPrepareCommand(GlobalTransaction gtx,
List modifications,
boolean onePhaseCommit)
Deprecated.
|
protected void |
cleanupStaleLocks(InvocationContext ctx)
Deprecated.
|
Object |
handleDefault(InvocationContext ctx,
VisitableCommand command)
Deprecated.
Tests if we already have a tx running.
|
protected void |
replayModifications(InvocationContext ctx,
Transaction ltx,
PrepareCommand command)
Deprecated.
Replays modifications by passing them up the interceptor chain.
|
Object |
visitOptimisticPrepareCommand(InvocationContext ctx,
OptimisticPrepareCommand command)
Deprecated.
Visits a OptimisticPrepareCommand.
|
assertTxIsStillValid, attachGtxAndPassUpChain, createLocalTx, dumpStatistics, getCommits, getNumberOfSyncsRegistered, getPrepares, getRollbacks, getStatisticsEnabled, intialize, resetStatistics, runCommitPhase, runPreparePhase, runRollbackPhase, setStatisticsEnabled, visitCommitCommand, visitInvalidateCommand, visitPrepareCommand, visitRollbackCommandcopyInvocationScopeOptionsToTxScope, isRollingBack, setTransactionalContextgetNext, hasNext, invokeNextInterceptor, setNextvisitClearDataCommand, visitCollection, visitCreateNodeCommand, visitEvictFqnCommand, visitExistsNodeCommand, visitGetChildrenNamesCommand, visitGetDataMapCommand, visitGetKeysCommand, visitGetKeyValueCommand, visitGetNodeCommand, visitGravitateDataCommand, visitMoveCommand, visitPutDataMapCommand, visitPutForExternalReadCommand, visitPutKeyValueCommand, visitRemoveKeyCommand, visitRemoveNodeCommandprotected final org.jboss.cache.interceptors.OptimisticTxInterceptor.ModificationsReplayVisitor replayVisitor
public Object visitOptimisticPrepareCommand(InvocationContext ctx, OptimisticPrepareCommand command) throws Throwable
VisitorvisitOptimisticPrepareCommand in interface VisitorvisitOptimisticPrepareCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object handleDefault(InvocationContext ctx, VisitableCommand command) throws Throwable
TxInterceptorhandleDefault in class TxInterceptorctx - invocation contextcommand - command to invokeThrowable - in the event of problemsprotected PrepareCommand buildPrepareCommand(GlobalTransaction gtx, List modifications, boolean onePhaseCommit)
buildPrepareCommand in class TxInterceptorprotected void replayModifications(InvocationContext ctx, Transaction ltx, PrepareCommand command) throws Throwable
replayModifications in class TxInterceptorThrowableprotected void cleanupStaleLocks(InvocationContext ctx) throws Throwable
cleanupStaleLocks in class TxInterceptorThrowableCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.