com.hazelcast.spi.impl.proxyservice.impl
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 ProxyService
public void initializeDistributedObject(String serviceName, String name)
initializeDistributedObject
in interface ProxyService
public ProxyRegistry getOrCreateRegistry(String serviceName)
public DistributedObject getDistributedObject(String serviceName, String name)
getDistributedObject
in interface ProxyService
public void destroyDistributedObject(String serviceName, String name)
destroyDistributedObject
in interface ProxyService
public void destroyLocalDistributedObject(String serviceName, String name, boolean fireEvent)
public Collection<DistributedObject> getDistributedObjects(String serviceName)
getDistributedObjects
in interface ProxyService
public Collection<String> getDistributedObjectNames(String serviceName)
getDistributedObjectNames
in interface ProxyService
public Collection<DistributedObject> getAllDistributedObjects()
getAllDistributedObjects
in interface ProxyService
public String addProxyListener(DistributedObjectListener distributedObjectListener)
addProxyListener
in interface ProxyService
public boolean removeProxyListener(String registrationId)
removeProxyListener
in interface ProxyService
public void dispatchEvent(DistributedObjectEventPacket eventPacket, Object ignore)
dispatchEvent
in interface EventPublishingService<DistributedObjectEventPacket,Object>
public Operation getPostJoinOperation()
PostJoinAwareService
Post join operations should return response, at least a null response.
getPostJoinOperation
in interface PostJoinAwareService
public void shutdown()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.