public class CacheSyncAdapter extends Object implements CacheSyncListener
| Constructor and Description |
|---|
CacheSyncAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
postClear(Class cls,
Msg m) |
void |
postSendClearMsg(Class cls,
Msg m) |
void |
preClear(Class cls,
Msg m)
before clearing cache - if cls == null whole cache
Message m contains information about reason and stuff...
|
void |
preSendClearMsg(Class cls,
Msg m)
Class is null for CLEAR ALL
|
public void preClear(Class cls, Msg m) throws CacheSyncVetoException
CacheSyncListenerpreClear in interface CacheSyncListenerCacheSyncVetoExceptionpublic void postClear(Class cls, Msg m)
postClear in interface CacheSyncListenerpublic void preSendClearMsg(Class cls, Msg m) throws CacheSyncVetoException
CacheSyncListenerpreSendClearMsg in interface CacheSyncListenerm - - message about to be send - add info if necessary!CacheSyncVetoExceptionpublic void postSendClearMsg(Class cls, Msg m)
postSendClearMsg in interface CacheSyncListenerCopyright © 2013. All Rights Reserved.