com.hazelcast.replicatedmap.impl.record
Class ReplicatedQueryEventFilter

java.lang.Object
  extended by com.hazelcast.replicatedmap.impl.record.ReplicatedEntryEventFilter
      extended by com.hazelcast.replicatedmap.impl.record.ReplicatedQueryEventFilter
All Implemented Interfaces:
EventFilter

public class ReplicatedQueryEventFilter
extends ReplicatedEntryEventFilter

This class is used to transfer a predicate as an remote operation and filter values matching the predicate


Field Summary
 
Fields inherited from class com.hazelcast.replicatedmap.impl.record.ReplicatedEntryEventFilter
key
 
Constructor Summary
ReplicatedQueryEventFilter(Object key, Predicate predicate)
           
 
Method Summary
 boolean eval(Object arg)
           
 Object getPredicate()
           
 
Methods inherited from class com.hazelcast.replicatedmap.impl.record.ReplicatedEntryEventFilter
getKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicatedQueryEventFilter

public ReplicatedQueryEventFilter(Object key,
                                  Predicate predicate)
Method Detail

getPredicate

public Object getPredicate()

eval

public boolean eval(Object arg)
Specified by:
eval in interface EventFilter
Overrides:
eval in class ReplicatedEntryEventFilter


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.