Class 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:
  • 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 source
      event - the underlying CacheEvent
      convKey - the Converter to view the underlying CacheEvent's key
      convVal - 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 source
      event - the underlying MapEvent
      convKey - the Converter to view the underlying CacheEvent's key
      convVal - the Converter to view the underlying CacheEvent's values
      context - the BackingMapManagerContext necessary to emulate the BinaryEntry interface
  • Method Details

    • getCacheEvent

      public CacheEvent<K,V> getCacheEvent()
      Return the underlying CacheEvent.
      Returns:
      the underlying CacheEvent