@PublicApi
public interface CacheEntryEvent<K,V>
NOTE: Although Cache does not support null
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:
Modifier and Type | Method and Description |
---|---|
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
|
Copyright © 2015 Atlassian. All rights reserved.