Class PartitionedCacheSyntheticDeleteMapListener.JCacheExpiryEntryFilter<T>

java.lang.Object
com.tangosol.coherence.jcache.partitionedcache.PartitionedCacheSyntheticDeleteMapListener.JCacheExpiryEntryFilter<T>
All Implemented Interfaces:
PortableObject, Filter<T>, EntryFilter<Object,T>, Serializable
Enclosing class:
PartitionedCacheSyntheticDeleteMapListener<K,V>

public static class PartitionedCacheSyntheticDeleteMapListener.JCacheExpiryEntryFilter<T> extends Object implements EntryFilter<Object,T>, Serializable, PortableObject
Server side filter for JCache ExpiryCacheEvents.
See Also:
  • Constructor Details

    • JCacheExpiryEntryFilter

      public JCacheExpiryEntryFilter()
  • Method Details

    • evaluate

      public boolean evaluate(T o)
      Description copied from interface: Filter
      Apply the test to the input argument.
      Specified by:
      evaluate in interface Filter<T>
      Parameters:
      o - the input argument to evaluate
      Returns:
      true if the input argument matches the filter, otherwise false
    • evaluateEntry

      public boolean evaluateEntry(Map.Entry entry)
      Description copied from interface: EntryFilter
      Apply the test to a Map Entry.
      Specified by:
      evaluateEntry in interface EntryFilter<Object,T>
      Parameters:
      entry - the Map Entry to evaluate; never null
      Returns:
      true if the test passes, false otherwise
    • readExternal

      public void readExternal(PofReader pofReader) throws IOException
      Description copied from interface: PortableObject
      Restore the contents of a user type instance by reading its state using the specified PofReader object.
      Specified by:
      readExternal in interface PortableObject
      Parameters:
      pofReader - the PofReader from which to read the object's state
      Throws:
      IOException - if an I/O error occurs
    • writeExternal

      public void writeExternal(PofWriter pofWriter) throws IOException
      Description copied from interface: PortableObject
      Save the contents of a POF user type instance by writing its state using the specified PofWriter object.
      Specified by:
      writeExternal in interface PortableObject
      Parameters:
      pofWriter - the PofWriter to which to write the object's state
      Throws:
      IOException - if an I/O error occurs