org.jboss.cache.interceptors
Class OptimisticLockingInterceptor
java.lang.Object
org.jboss.cache.interceptors.Interceptor
org.jboss.cache.interceptors.OptimisticInterceptor
org.jboss.cache.interceptors.OptimisticLockingInterceptor
- All Implemented Interfaces:
- InterceptorMBean
public class OptimisticLockingInterceptor
- extends OptimisticInterceptor
Locks nodes during transaction boundaries. Only affects prepare/commit/rollback method calls; other method calls
are simply passed up the interceptor stack.
- Author:
- Manik Surtani (manik@jboss.org), Steve Woodcock (stevew@jofti.com)
Methods inherited from class org.jboss.cache.interceptors.Interceptor |
dumpStatistics, getLast, getNext, getStatisticsEnabled, isActive, isOnePhaseCommitPrepareMehod, isPreparing, isValid, resetStatistics, setLast, setNext, setStatisticsEnabled, toString |
OptimisticLockingInterceptor
public OptimisticLockingInterceptor()
setCache
public void setCache(CacheSPI cache)
- Overrides:
setCache
in class OptimisticInterceptor
invoke
public Object invoke(InvocationContext ctx)
throws Throwable
- Overrides:
invoke
in class Interceptor
- Throws:
Throwable
Copyright © 2007 JBoss, a division of Red Hat. All Rights Reserved.