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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Apply the test to the input argument.boolean
evaluateEntry
(Map.Entry entry) Apply the test to a Map Entry.void
readExternal
(PofReader pofReader) Restore the contents of a user type instance by reading its state using the specified PofReader object.void
writeExternal
(PofWriter pofWriter) Save the contents of a POF user type instance by writing its state using the specified PofWriter object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tangosol.util.Filter
and, asLimitFilter, associatedWith, forKeys, forPartitions, or, xor
-
Constructor Details
-
JCacheExpiryEntryFilter
public JCacheExpiryEntryFilter()
-
-
Method Details
-
evaluate
Description copied from interface:Filter
Apply the test to the input argument. -
evaluateEntry
Description copied from interface:EntryFilter
Apply the test to a Map Entry.- Specified by:
evaluateEntry
in interfaceEntryFilter<Object,
T> - Parameters:
entry
- the Map Entry to evaluate; never null- Returns:
- true if the test passes, false otherwise
-
readExternal
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 interfacePortableObject
- Parameters:
pofReader
- the PofReader from which to read the object's state- Throws:
IOException
- if an I/O error occurs
-
writeExternal
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 interfacePortableObject
- Parameters:
pofWriter
- the PofWriter to which to write the object's state- Throws:
IOException
- if an I/O error occurs
-