Package com.tangosol.util
Class ConverterCollections.ConverterCacheEvent<K,V>
java.lang.Object
java.util.EventObject
com.tangosol.util.MapEvent<K,V>
com.tangosol.net.cache.CacheEvent<K,V>
com.tangosol.util.ConverterCollections.ConverterMapEvent<K,V>
com.tangosol.util.ConverterCollections.ConverterCacheEvent<K,V>
- All Implemented Interfaces:
PortableObject,Serializable
- Enclosing class:
ConverterCollections
public static class ConverterCollections.ConverterCacheEvent<K,V>
extends ConverterCollections.ConverterMapEvent<K,V>
A Converter CacheEvent views an underlying CacheEvent through a set of
key and value Converters.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.tangosol.util.ConverterCollections.ConverterMapEvent
ConverterCollections.ConverterMapEvent.ConverterMapEventBinaryEntry, ConverterCollections.ConverterMapEvent.ConverterMapEventEntryNested classes/interfaces inherited from class com.tangosol.net.cache.CacheEvent
CacheEvent.TransformationState -
Field Summary
Fields inherited from class com.tangosol.util.ConverterCollections.ConverterMapEvent
m_context, m_convKey, m_convVal, m_entryNew, m_entryOld, m_event, NO_VALUEFields inherited from class com.tangosol.net.cache.CacheEvent
EXPIRED, m_nFlags, m_transformState, PRIMING, SYNTHETICFields inherited from class com.tangosol.util.MapEvent
ENTRY_DELETED, ENTRY_INSERTED, ENTRY_UPDATED, m_key, m_nId, m_nPartition, m_nVersion, m_valueNew, m_valueOldFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionConverterCacheEvent(ObservableMap<K, V> map, CacheEvent<K, V> event, Converter<K, K> convKey, Converter<V, V> convVal) Constructor.ConverterCacheEvent(ObservableMap<K, V> map, CacheEvent<K, V> event, Converter<K, K> convKey, Converter<V, V> convVal, BackingMapManagerContext context) Construct a ConverterMapEvent. -
Method Summary
Methods inherited from class com.tangosol.util.ConverterCollections.ConverterMapEvent
clearConverted, getContext, getConverterKeyUp, getConverterValueUp, getKey, getMapEvent, getNewEntry, getNewValue, getOldEntry, getOldValue, getPartition, getVersion, isKeyConverted, isNewValueConverted, isOldValueConverted, isVersionUpdate, setKey, setNewValue, setOldValueMethods inherited from class com.tangosol.net.cache.CacheEvent
getDescription, getTransformationState, isExpired, isPriming, isSynthetic, shouldDispatch, withMethods inherited from class com.tangosol.util.MapEvent
dispatch, dispatch, dispatch, getDescription, getId, getMap, isDelete, isInsert, isUpdate, readExternal, toString, writeExternalMethods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
ConverterCacheEvent
public ConverterCacheEvent(ObservableMap<K, V> map, CacheEvent<K, V> event, Converter<K, K> convKey, Converter<V, V> convVal) Constructor.- Parameters:
map- the new event's sourceevent- the underlying CacheEventconvKey- the Converter to view the underlying CacheEvent's keyconvVal- the Converter to view the underlying CacheEvent's values
-
ConverterCacheEvent
public ConverterCacheEvent(ObservableMap<K, V> map, CacheEvent<K, V> event, Converter<K, K> convKey, Converter<V, V> convVal, BackingMapManagerContext context) Construct a ConverterMapEvent.- Parameters:
map- the new event's sourceevent- the underlying MapEventconvKey- the Converter to view the underlying CacheEvent's keyconvVal- the Converter to view the underlying CacheEvent's valuescontext- the BackingMapManagerContext necessary to emulate the BinaryEntry interface
-
-
Method Details
-
getCacheEvent
Return the underlying CacheEvent.- Returns:
- the underlying CacheEvent
-