com.hazelcast.client.spi
Class ClientProxy
java.lang.Object
com.hazelcast.client.spi.ClientProxy
- All Implemented Interfaces:
- DistributedObject
public abstract class ClientProxy
- extends Object
- implements DistributedObject
- Author:
- mdogan 5/16/13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientProxy
protected ClientProxy(String serviceName,
Object objectId)
listen
protected final String listen(Object registrationRequest,
Data key,
EventHandler handler)
listen
protected final String listen(Object registrationRequest,
EventHandler handler)
stopListening
protected final boolean stopListening(String registrationId)
getContext
protected final ClientContext getContext()
getId
public final Object getId()
- Description copied from interface:
DistributedObject
- Returns the unique id for this object.
- Specified by:
getId
in interface DistributedObject
- Returns:
- id the of this instance
getServiceName
public final String getServiceName()
- Description copied from interface:
DistributedObject
- Returns the service name for this object.
- Specified by:
getServiceName
in interface DistributedObject
destroy
public final void destroy()
- Description copied from interface:
DistributedObject
- Destroys this object cluster-wide.
Clears and releases all resources for this object.
- Specified by:
destroy
in interface DistributedObject
onDestroy
protected abstract void onDestroy()
Copyright © 2013 Hazelcast, Inc.. All Rights Reserved.