public abstract class AbstractCacheSynchronizer<T extends CacheSyncListener> extends Object
TODO: Add documentation here
| Modifier and Type | Field and Description |
|---|---|
protected Hashtable<Class<?>,Vector<T>> |
listenerForType |
protected List<T> |
listeners |
protected static org.slf4j.Logger |
log |
protected Morphium |
morphium |
| Constructor and Description |
|---|
AbstractCacheSynchronizer(Morphium morphium) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSyncListener(Class type,
T cl) |
void |
addSyncListener(T cl) |
void |
firePostClearEvent(Class type) |
protected void |
firePreClearEvent(Class type) |
void |
removeSyncListener(Class type,
T cl) |
void |
removeSyncListener(T cl) |
protected static final org.slf4j.Logger log
protected final Morphium morphium
protected final List<T extends CacheSyncListener> listeners
protected final Hashtable<Class<?>,Vector<T extends CacheSyncListener>> listenerForType
public AbstractCacheSynchronizer(Morphium morphium)
public void addSyncListener(T cl)
public void removeSyncListener(T cl)
protected void firePreClearEvent(Class type) throws CacheSyncVetoException
CacheSyncVetoExceptionpublic void firePostClearEvent(Class type)
Copyright © 2022. All rights reserved.