com.hazelcast.client.impl.client
Class RemoveAllListeners

java.lang.Object
  extended by com.hazelcast.client.impl.client.ClientRequest
      extended by com.hazelcast.client.impl.client.CallableClientRequest
          extended by com.hazelcast.client.impl.client.RemoveAllListeners
All Implemented Interfaces:
SecureRequest, Portable, VersionedPortable, Callable

public class RemoveAllListeners
extends CallableClientRequest

When a connection does not respond to heart-beat we switch the listeners to another endpoint If somehow connection starts to respond heart-beat we need to signal the endpoint to remove the listeners


Field Summary
 
Fields inherited from class com.hazelcast.client.impl.client.ClientRequest
callId, clientEngine, endpoint, operationService, serializationService, service
 
Constructor Summary
RemoveAllListeners()
           
 
Method Summary
 Object call()
           
 int getClassId()
          Returns class identifier for this portable class.
 int getFactoryId()
          Returns PortableFactory id for this portable class
 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, getDistributedObjectName, 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
 

Constructor Detail

RemoveAllListeners

public RemoveAllListeners()
Method Detail

call

public Object call()
            throws Exception
Throws:
Exception

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

Returns:
factory id

getClassId

public int getClassId()
Description copied from interface: Portable
Returns class identifier for this portable class. Class id should be unique per PortableFactory.

Returns:
class id

getRequiredPermission

public Permission getRequiredPermission()


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