org.jboss.cache.interceptors
Class NotificationInterceptor
java.lang.Object
org.jboss.cache.interceptors.Interceptor
org.jboss.cache.interceptors.MethodDispacherInterceptor
org.jboss.cache.interceptors.BaseTransactionalContextInterceptor
org.jboss.cache.interceptors.NotificationInterceptor
- All Implemented Interfaces:
- InterceptorMBean
public class NotificationInterceptor
- extends BaseTransactionalContextInterceptor
The interceptor in charge of firing off notifications to cache listeners
- Since:
- 2.0.0
- Author:
- Manik Surtani
Methods inherited from class org.jboss.cache.interceptors.MethodDispacherInterceptor |
handleAddChildMethod, handleDataGravitationCleanupMethod, handleEvictMethod, handleEvictVersionedNodeMethod, handleExistsMethod, handleGetDataMapMethod, handleGetChildrenNamesMethod, handleGetKeysMethod, handleGetKeyValueMethod, handleGetNodeMethod, handleLockMethod, handleMoveMethod, handleOptimisticPrepareMethod, handlePrepareMethod, handlePrintMethod, handlePutDataEraseMethod, handlePutDataEraseVersionedMethod, handlePutDataMethod, handlePutDataVersionedMethod, handlePutForExternalReadMethod, handlePutForExternalReadVersionedMethod, handlePutKeyValueMethod, handlePutKeyValueVersionedMethod, handleReleaseAllLocksMethod, handleRemoveDataMethod, handleRemoveDataVersionedMethod, handleRemoveKeyMethod, handleRemoveKeyVersionedMethod, handleRemoveNodeMethod, handleRemoveNodeVersionedMethod, invoke, skipMethodCall |
Methods inherited from class org.jboss.cache.interceptors.Interceptor |
assertTransactionValid, dumpStatistics, getLast, getNext, getStatisticsEnabled, initLogger, isActive, isPreparing, isValid, nextInterceptor, peekNode, resetStatistics, setCache, setLast, setNext, setStatisticsEnabled, toString |
NotificationInterceptor
public NotificationInterceptor()
handleBlockChannelMethod
protected Object handleBlockChannelMethod(InvocationContext ctx)
throws Throwable
- Description copied from class:
MethodDispacherInterceptor
- Handles
CacheImpl._block()
- Overrides:
handleBlockChannelMethod
in class MethodDispacherInterceptor
- Throws:
Throwable
handleUnblockChannelMethod
protected Object handleUnblockChannelMethod(InvocationContext ctx)
throws Throwable
- Description copied from class:
MethodDispacherInterceptor
- Handles
CacheImpl._unblock()
- Overrides:
handleUnblockChannelMethod
in class MethodDispacherInterceptor
- Throws:
Throwable
handleCommitMethod
protected Object handleCommitMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
throws Throwable
- Description copied from class:
MethodDispacherInterceptor
- Handles
CacheImpl.commit(org.jboss.cache.transaction.GlobalTransaction)
- Overrides:
handleCommitMethod
in class MethodDispacherInterceptor
- Throws:
Throwable
handleRollbackMethod
protected Object handleRollbackMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
throws Throwable
- Description copied from class:
MethodDispacherInterceptor
- Handles
CacheImpl.rollback(org.jboss.cache.transaction.GlobalTransaction)
- Overrides:
handleRollbackMethod
in class MethodDispacherInterceptor
- Throws:
Throwable
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.