Package com.tangosol.net.cache
Class OverflowMap.HistoricCacheEvent
java.lang.Object
java.util.EventObject
com.tangosol.util.MapEvent
com.tangosol.net.cache.CacheEvent
com.tangosol.net.cache.OverflowMap.HistoricCacheEvent
- All Implemented Interfaces:
- PortableObject,- CollectionEvent,- Serializable
- Enclosing class:
- OverflowMap
A CacheEvent that carries a recent value (to avoid it being lost during
 eviction).
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class com.tangosol.net.cache.CacheEventCacheEvent.TransformationState
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected ObjectA previous value, but the most recent of the previous values.Fields inherited from class com.tangosol.net.cache.CacheEventEXPIRED, m_nFlags, m_transformState, PRIMING, SYNTHETICFields inherited from class com.tangosol.util.MapEventENTRY_DELETED, ENTRY_INSERTED, ENTRY_UPDATED, m_key, m_nId, m_nPartition, m_nVersion, m_valueNew, m_valueOldFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionHistoricCacheEvent(ObservableMap map, int nId, Object oKey, Object oValueOld, Object oValueNew, boolean fSynthetic, Object oValueRecent) Create a Historic CacheEvent that contains the most recent value before the now-current value.
- 
Method SummaryModifier and TypeMethodDescriptionObtain the value that needs to be saved if this event represents a merged sequence of events ending with the eviction of data.Methods inherited from class com.tangosol.net.cache.CacheEventgetDescription, getTransformationState, isExpired, isPriming, isSynthetic, isVersionUpdate, shouldDispatch, withMethods inherited from class com.tangosol.util.MapEventdispatch, dispatch, dispatch, getDescription, getId, getKey, getMap, getNewEntry, getNewValue, getOldEntry, getOldValue, getPartition, getVersion, isDelete, isInsert, isUpdate, readExternal, toString, writeExternalMethods inherited from class java.util.EventObjectgetSource
- 
Field Details- 
m_oValueLatestOldA previous value, but the most recent of the previous values.
 
- 
- 
Constructor Details- 
HistoricCacheEventpublic HistoricCacheEvent(ObservableMap map, int nId, Object oKey, Object oValueOld, Object oValueNew, boolean fSynthetic, Object oValueRecent) Create a Historic CacheEvent that contains the most recent value before the now-current value.- Parameters:
- map- the ObservableMap object that fired the event
- nId- this event id as defined by the MapEvent class
- oKey- the key into the map
- oValueOld- the old value (for update and delete events)
- oValueNew- the new value (for insert and update events)
- fSynthetic- true iff the event is historically synthetic
- oValueRecent- the most recent value before the new value
 
 
- 
- 
Method Details- 
getLatestOldValueObtain the value that needs to be saved if this event represents a merged sequence of events ending with the eviction of data.- Returns:
- the most recent data value before the new value
 
 
-