K
- key classV
- value classpublic class TestCacheEntryEvent<K,V>
extends javax.cache.event.CacheEntryEvent<K,V>
source
Constructor and Description |
---|
TestCacheEntryEvent(javax.cache.Cache source,
javax.cache.event.EventType type) |
Modifier and Type | Method and Description |
---|---|
K |
getKey() |
V |
getOldValue() |
V |
getValue() |
boolean |
isOldValueAvailable() |
javax.cache.event.CacheEntryEvent |
readObject(ObjectInputStream ois) |
void |
setKey(K key) |
void |
setOldValue(V oldValue) |
void |
setOldValueAvailable(boolean oldValueAvailable) |
void |
setValue(V value) |
<T> T |
unwrap(Class<T> clazz) |
toString
public TestCacheEntryEvent(javax.cache.Cache source, javax.cache.event.EventType type)
public V getOldValue()
public boolean isOldValueAvailable()
public K getKey()
public V getValue()
public <T> T unwrap(Class<T> clazz)
public void setOldValue(V oldValue)
public void setKey(K key)
public void setOldValueAvailable(boolean oldValueAvailable)
public void setValue(V value)
public javax.cache.event.CacheEntryEvent readObject(ObjectInputStream ois)
Copyright © 2014. All Rights Reserved.