public class ProxyServiceImpl extends Object implements ProxyService, PostJoinAwareService, EventPublishingService<DistributedObjectEventPacket,Object>
| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyServiceImpl.DistributedObjectDestroyOperation |
static class |
ProxyServiceImpl.PostJoinProxyOperation |
| Modifier and Type | Method and Description |
|---|---|
String |
addProxyListener(DistributedObjectListener distributedObjectListener) |
void |
destroyDistributedObject(String serviceName,
String name) |
void |
dispatchEvent(DistributedObjectEventPacket eventPacket,
Object ignore) |
Collection<DistributedObject> |
getAllDistributedObjects() |
DistributedObject |
getDistributedObject(String serviceName,
String name) |
Collection<String> |
getDistributedObjectNames(String serviceName) |
Collection<DistributedObject> |
getDistributedObjects(String serviceName) |
Operation |
getPostJoinOperation()
Post join operations must be lock free; means no locks at all;
no partition locks, no key-based locks, no service level locks or
no database interaction!
|
int |
getProxyCount() |
void |
initializeDistributedObject(String serviceName,
String name) |
boolean |
removeProxyListener(String registrationId) |
public int getProxyCount()
getProxyCount in interface ProxyServicepublic void initializeDistributedObject(String serviceName, String name)
initializeDistributedObject in interface ProxyServicepublic DistributedObject getDistributedObject(String serviceName, String name)
getDistributedObject in interface ProxyServicepublic void destroyDistributedObject(String serviceName, String name)
destroyDistributedObject in interface ProxyServicepublic Collection<DistributedObject> getDistributedObjects(String serviceName)
getDistributedObjects in interface ProxyServicepublic Collection<String> getDistributedObjectNames(String serviceName)
getDistributedObjectNames in interface ProxyServicepublic Collection<DistributedObject> getAllDistributedObjects()
getAllDistributedObjects in interface ProxyServicepublic String addProxyListener(DistributedObjectListener distributedObjectListener)
addProxyListener in interface ProxyServicepublic boolean removeProxyListener(String registrationId)
removeProxyListener in interface ProxyServicepublic void dispatchEvent(DistributedObjectEventPacket eventPacket, Object ignore)
dispatchEvent in interface EventPublishingService<DistributedObjectEventPacket,Object>public Operation getPostJoinOperation()
PostJoinAwareServicePost join operations should return response, at least a null response.
getPostJoinOperation in interface PostJoinAwareServiceCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.