protected static class OverflowMap.HistoricCacheEvent extends CacheEvent
CacheEvent.TransformationState
Modifier and Type | Field and Description |
---|---|
protected Object |
m_oValueLatestOld
A previous value, but the most recent of the previous values.
|
m_fPriming, m_fSynthetic, m_transformState
ENTRY_DELETED, ENTRY_INSERTED, ENTRY_UPDATED, m_nId, m_oKey, m_oValueNew, m_oValueOld
source
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Object |
getLatestOldValue()
Obtain the value that needs to be saved if this event represents
a merged sequence of events ending with the eviction of data.
|
getDescription, getTransformationState, isPriming, isSynthetic, shouldDispatch
dispatch, dispatch, dispatch, getDescription, getId, getKey, getMap, getNewEntry, getNewValue, getOldEntry, getOldValue, isDelete, isInsert, isUpdate, readExternal, toString, writeExternal
getSource
protected Object m_oValueLatestOld
public HistoricCacheEvent(ObservableMap map, int nId, Object oKey, Object oValueOld, Object oValueNew, boolean fSynthetic, Object oValueRecent)
map
- the ObservableMap object that fired the eventnId
- this event id as defined by the MapEvent classoKey
- the key into the mapoValueOld
- the old value (for update and delete events)oValueNew
- the new value (for insert and update events)fSynthetic
- true iff the event is historically syntheticoValueRecent
- the most recent value before the new valuepublic Object getLatestOldValue()