public class ProxyServiceImpl extends Object implements InternalProxyService, PostJoinAwareService, EventPublishingService<DistributedObjectEventPacket,Object>
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Constructor and Description |
|---|
ProxyServiceImpl(NodeEngineImpl nodeEngine) |
public static final String SERVICE_NAME
public ProxyServiceImpl(NodeEngineImpl nodeEngine)
public void init()
public int getProxyCount()
getProxyCount in interface ProxyServicepublic void initializeDistributedObject(String serviceName, String name)
initializeDistributedObject in interface ProxyServicepublic ProxyRegistry getOrCreateRegistry(String serviceName)
public DistributedObject getDistributedObject(String serviceName, String name)
getDistributedObject in interface ProxyServicepublic void destroyDistributedObject(String serviceName, String name)
destroyDistributedObject in interface ProxyServicepublic void destroyLocalDistributedObject(String serviceName, String name, boolean fireEvent)
public 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 PostJoinAwareServicepublic void shutdown()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.