public class SyntheticEventFilter extends Object implements EventFilter, DataSerializable
IMap.put(K, V)
or IMap.evict(K).
This event filter is used to prevent near cache evictions caused by internal eviction or expiration
operations in IMap, since near cache should use its own eviction/expiration mechanism,
this filter helps to provide right near cache behavior.| Constructor and Description |
|---|
SyntheticEventFilter() |
SyntheticEventFilter(EventFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
eval(Object event) |
EventFilter |
getFilter() |
int |
hashCode() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public SyntheticEventFilter()
public SyntheticEventFilter(EventFilter filter)
public EventFilter getFilter()
public boolean eval(Object event)
eval in interface EventFilterpublic void writeData(ObjectDataOutput out) throws IOException
writeData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
readData in interface DataSerializablein - inputIOExceptionCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.