com.hazelcast.map.impl.client
Class AbstractMapAddEntryListenerRequest

java.lang.Object
  extended by com.hazelcast.client.impl.client.ClientRequest
      extended by com.hazelcast.client.impl.client.CallableClientRequest
          extended by com.hazelcast.map.impl.client.AbstractMapAddEntryListenerRequest
All Implemented Interfaces:
RetryableRequest, SecureRequest, Portable, VersionedPortable, Callable
Direct Known Subclasses:
MapAddEntryListenerRequest, MapAddEntryListenerSqlRequest

public abstract class AbstractMapAddEntryListenerRequest
extends CallableClientRequest
implements RetryableRequest

Base class for adding entry listener to map


Field Summary
protected  boolean includeValue
           
protected  Data key
           
protected  String name
           
 
Fields inherited from class com.hazelcast.client.impl.client.ClientRequest
callId, clientEngine, endpoint, operationService, serializationService, service
 
Constructor Summary
AbstractMapAddEntryListenerRequest()
           
AbstractMapAddEntryListenerRequest(String name, boolean includeValue)
           
AbstractMapAddEntryListenerRequest(String name, Data key, boolean includeValue)
           
 
Method Summary
 Object call()
           
 String getDistributedObjectName()
          Used for SecurityInterceptor
protected  EventFilter getEventFilter()
           
 int getFactoryId()
          Returns PortableFactory id for this portable class
protected abstract  Predicate getPredicate()
           
 Permission getRequiredPermission()
           
 String getServiceName()
           
 
Methods inherited from class com.hazelcast.client.impl.client.CallableClientRequest
process
 
Methods inherited from class com.hazelcast.client.impl.client.ClientRequest
getCallId, getClassVersion, getClientEngine, getDistributedObjectType, getEndpoint, getMethodName, getParameters, getService, isSingleConnection, read, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, setSingleConnection, write, writePortable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hazelcast.nio.serialization.Portable
getClassId
 

Field Detail

name

protected String name

key

protected Data key

includeValue

protected boolean includeValue
Constructor Detail

AbstractMapAddEntryListenerRequest

public AbstractMapAddEntryListenerRequest()

AbstractMapAddEntryListenerRequest

public AbstractMapAddEntryListenerRequest(String name,
                                          boolean includeValue)

AbstractMapAddEntryListenerRequest

public AbstractMapAddEntryListenerRequest(String name,
                                          Data key,
                                          boolean includeValue)
Method Detail

getPredicate

protected abstract Predicate getPredicate()

call

public Object call()
Specified by:
call in interface Callable

getEventFilter

protected EventFilter getEventFilter()

getServiceName

public String getServiceName()
Specified by:
getServiceName in class ClientRequest

getFactoryId

public int getFactoryId()
Description copied from interface: Portable
Returns PortableFactory id for this portable class

Specified by:
getFactoryId in interface Portable
Returns:
factory id

getRequiredPermission

public Permission getRequiredPermission()
Specified by:
getRequiredPermission in interface SecureRequest

getDistributedObjectName

public String getDistributedObjectName()
Description copied from interface: SecureRequest
Used for SecurityInterceptor

Specified by:
getDistributedObjectName in interface SecureRequest
Overrides:
getDistributedObjectName in class ClientRequest
Returns:


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