@PublicApi
public interface CachedReferenceListener<V>
| Modifier and Type | Method and Description |
|---|---|
void |
onEvict(CachedReferenceEvent<V> event)
Invoked when the cached reference was evicted
|
void |
onReset(CachedReferenceEvent<V> event)
Invoked when the cached reference was reset
|
void |
onSet(CachedReferenceEvent<V> event)
Invoked when the cached reference was set, e.g.
|
void onEvict(@Nonnull CachedReferenceEvent<V> event)
event - the eviction eventvoid onSet(@Nonnull CachedReferenceEvent<V> event)
event - the set eventvoid onReset(@Nonnull CachedReferenceEvent<V> event)
event - the reset eventCopyright © 2018 Atlassian. All rights reserved.