|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheNotifier
Public interface with all allowed notifications.
Method Summary | |
---|---|
void |
notifyCacheEntryActivated(Object key,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a CacheEntryActivated event. |
void |
notifyCacheEntryCreated(Object key,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a CacheEntryCreated event. |
void |
notifyCacheEntryEvicted(Object key,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a CacheEntryEvicted event. |
void |
notifyCacheEntryInvalidated(Object key,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a CacheEntryInvalidated event. |
void |
notifyCacheEntryLoaded(Object key,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a CacheEntryLoaded event. |
void |
notifyCacheEntryModified(Object key,
Object value,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a CacheEntryModified event. |
void |
notifyCacheEntryPassivated(Object key,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a CacheEntryPassivated event. |
void |
notifyCacheEntryRemoved(Object key,
Object value,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a CacheEntryRemoved event. |
void |
notifyCacheEntryVisited(Object key,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a CacheEntryVisited event. |
void |
notifyTransactionCompleted(Transaction transaction,
boolean successful,
InvocationContext ctx)
Notifies all registered listeners of a transaction completion event. |
void |
notifyTransactionRegistered(Transaction transaction,
InvocationContext ctx)
Notifies all registered listeners of a transaction registration event. |
Methods inherited from interface org.infinispan.notifications.Listenable |
---|
addListener, getListeners, removeListener |
Method Detail |
---|
void notifyCacheEntryCreated(Object key, boolean pre, InvocationContext ctx)
void notifyCacheEntryModified(Object key, Object value, boolean pre, InvocationContext ctx)
void notifyCacheEntryRemoved(Object key, Object value, boolean pre, InvocationContext ctx)
void notifyCacheEntryVisited(Object key, boolean pre, InvocationContext ctx)
void notifyCacheEntryEvicted(Object key, boolean pre, InvocationContext ctx)
void notifyCacheEntryInvalidated(Object key, boolean pre, InvocationContext ctx)
void notifyCacheEntryLoaded(Object key, boolean pre, InvocationContext ctx)
void notifyCacheEntryActivated(Object key, boolean pre, InvocationContext ctx)
void notifyCacheEntryPassivated(Object key, boolean pre, InvocationContext ctx)
void notifyTransactionCompleted(Transaction transaction, boolean successful, InvocationContext ctx)
transaction
- the transaction that has just completedsuccessful
- if true, the transaction committed. If false, this is a rollback eventvoid notifyTransactionRegistered(Transaction transaction, InvocationContext ctx)
transaction
- the transaction that has just completed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |