|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.client.spi.ClientProxy
public abstract class ClientProxy
| Field Summary | |
|---|---|
protected String |
instanceName
|
| Constructor Summary | |
|---|---|
protected |
ClientProxy(String instanceName,
String serviceName,
String objectName)
|
| Method Summary | ||
|---|---|---|
void |
destroy()
Destroys this object cluster-wide. |
|
boolean |
equals(Object o)
|
|
protected ClientContext |
getContext()
|
|
Object |
getId()
Deprecated. |
|
String |
getName()
Returns the unique name for this DistributedObject. |
|
String |
getPartitionKey()
Returns the key of partition this DistributedObject is assigned to. |
|
String |
getServiceName()
Returns the service name for this object. |
|
int |
hashCode()
|
|
protected
|
invoke(ClientRequest req)
|
|
protected
|
invoke(ClientRequest req,
com.hazelcast.nio.Address address)
|
|
protected
|
invoke(ClientRequest req,
Object key)
|
|
protected String |
listen(ClientRequest registrationRequest,
EventHandler handler)
|
|
protected String |
listen(ClientRequest registrationRequest,
Object partitionKey,
EventHandler handler)
|
|
protected abstract void |
onDestroy()
|
|
protected void |
onShutdown()
|
|
protected void |
setContext(ClientContext context)
|
|
protected boolean |
stopListening(BaseClientRemoveListenerRequest request,
String registrationId)
|
|
protected void |
throwExceptionIfNull(Object o)
|
|
protected Data |
toData(Object o)
|
|
protected
|
toObject(Object data)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final String instanceName
| Constructor Detail |
|---|
protected ClientProxy(String instanceName,
String serviceName,
String objectName)
| Method Detail |
|---|
protected final String listen(ClientRequest registrationRequest,
Object partitionKey,
EventHandler handler)
protected final String listen(ClientRequest registrationRequest,
EventHandler handler)
protected final boolean stopListening(BaseClientRemoveListenerRequest request,
String registrationId)
protected final ClientContext getContext()
protected final void setContext(ClientContext context)
@Deprecated public final Object getId()
DistributedObject
getId in interface DistributedObjectpublic final String getName()
DistributedObject
getName in interface DistributedObjectpublic String getPartitionKey()
DistributedObject
getPartitionKey in interface DistributedObjectpublic final String getServiceName()
DistributedObject
getServiceName in interface DistributedObjectpublic final void destroy()
DistributedObject
destroy in interface DistributedObjectprotected abstract void onDestroy()
protected void onShutdown()
protected <T> T invoke(ClientRequest req,
Object key)
protected <T> T invoke(ClientRequest req)
protected <T> T invoke(ClientRequest req,
com.hazelcast.nio.Address address)
protected Data toData(Object o)
protected <T> T toObject(Object data)
protected void throwExceptionIfNull(Object o)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||