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
instanceName
protected final String instanceName
ClientProxy
protected ClientProxy(String instanceName,
String serviceName,
String objectName)
listen
protected final String listen(com.hazelcast.client.ClientRequest registrationRequest,
Object partitionKey,
EventHandler handler)
listen
protected final String listen(com.hazelcast.client.ClientRequest registrationRequest,
EventHandler handler)
stopListening
protected final boolean stopListening(com.hazelcast.client.BaseClientRemoveListenerRequest request,
String registrationId)
getContext
protected final ClientContext getContext()
setContext
protected final void setContext(ClientContext context)
getId
@Deprecated
public final Object getId()
- Deprecated.
- Specified by:
getId in interface DistributedObject
getName
public final String getName()
- Specified by:
getName in interface DistributedObject
getPartitionKey
public String getPartitionKey()
- Specified by:
getPartitionKey in interface DistributedObject
getServiceName
public final String getServiceName()
- Specified by:
getServiceName in interface DistributedObject
destroy
public final void destroy()
- Specified by:
destroy in interface DistributedObject
onDestroy
protected abstract void onDestroy()
onShutdown
protected void onShutdown()
invoke
protected <T> T invoke(com.hazelcast.client.ClientRequest req,
Object key)
invoke
protected <T> T invoke(com.hazelcast.client.ClientRequest req)
invoke
protected <T> T invoke(com.hazelcast.client.ClientRequest req,
com.hazelcast.nio.Address address)
toData
protected Data toData(Object o)
toObject
protected <T> T toObject(Object data)
throwExceptionIfNull
protected void throwExceptionIfNull(Object o)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.