|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.cache.CacheEntryAdapter<K,V>
@PublicApi public abstract class CacheEntryAdapter<K,V>
An abstract adapter for CacheEntryListener.
| Constructor Summary | |
|---|---|
CacheEntryAdapter()
|
|
| Method Summary | |
|---|---|
void |
onAdd(CacheEntryEvent<K,V> event)
Invoked when a key-value was added to the cache |
void |
onEvict(CacheEntryEvent<K,V> event)
Invoked when a key-value was evicted from the cache |
void |
onRemove(CacheEntryEvent<K,V> event)
Invoked when a key-value was removed from the cache |
void |
onUpdate(CacheEntryEvent<K,V> event)
Invoked when key-value was changed in the cache |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheEntryAdapter()
| Method Detail |
|---|
public void onAdd(@Nonnull
CacheEntryEvent<K,V> event)
CacheEntryListener
onAdd in interface CacheEntryListener<K,V>event - the addition event
public void onEvict(@Nonnull
CacheEntryEvent<K,V> event)
CacheEntryListener
onEvict in interface CacheEntryListener<K,V>event - the eviction event
public void onRemove(@Nonnull
CacheEntryEvent<K,V> event)
CacheEntryListener
onRemove in interface CacheEntryListener<K,V>event - the removal event
public void onUpdate(@Nonnull
CacheEntryEvent<K,V> event)
CacheEntryListener
onUpdate in interface CacheEntryListener<K,V>event - the update event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||