|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@PublicApi public interface CacheEntryEvent<K,V>
A cache event.
NOTE: Although Cache does not supportnull as a valid value we are using it in getValue and
getOldValue as a way to represent missing value. We have the following reasons for this:
| Method Summary | |
|---|---|
K |
getKey()
Returns the key the event was fired for |
V |
getOldValue()
Returns the old value for this key |
V |
getValue()
Returns the current value for this key |
| Method Detail |
|---|
@Nonnull K getKey()
@Nullable V getValue()
Nullable please refer to the
class level documentation@Nullable V getOldValue()
Nullable please refer to the
class level documentation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||