Class OverflowMap.HistoricCacheEvent

All Implemented Interfaces:
PortableObject, Serializable
Enclosing class:
OverflowMap

protected static class OverflowMap.HistoricCacheEvent extends CacheEvent
A CacheEvent that carries a recent value (to avoid it being lost during eviction).
See Also:
  • Field Details

    • m_oValueLatestOld

      protected Object m_oValueLatestOld
      A previous value, but the most recent of the previous values.
  • Constructor Details

    • HistoricCacheEvent

      public 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

    • getLatestOldValue

      public 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.
      Returns:
      the most recent data value before the new value