com.hazelcast.spi.impl
Class ProxyServiceImpl

java.lang.Object
  extended by com.hazelcast.spi.impl.ProxyServiceImpl
All Implemented Interfaces:
CoreService, EventPublishingService<DistributedObjectEventPacket,Object>, PostJoinAwareService, ProxyService

public class ProxyServiceImpl
extends Object
implements ProxyService, PostJoinAwareService, EventPublishingService<DistributedObjectEventPacket,Object>


Nested Class Summary
static class ProxyServiceImpl.DistributedObjectDestroyOperation
           
static class ProxyServiceImpl.PostJoinProxyOperation
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProxyCount

public int getProxyCount()
Specified by:
getProxyCount in interface ProxyService

initializeDistributedObject

public void initializeDistributedObject(String serviceName,
                                        String name)
Specified by:
initializeDistributedObject in interface ProxyService

getDistributedObject

public DistributedObject getDistributedObject(String serviceName,
                                              String name)
Specified by:
getDistributedObject in interface ProxyService

destroyDistributedObject

public void destroyDistributedObject(String serviceName,
                                     String name)
Specified by:
destroyDistributedObject in interface ProxyService

getDistributedObjects

public Collection<DistributedObject> getDistributedObjects(String serviceName)
Specified by:
getDistributedObjects in interface ProxyService

getDistributedObjectNames

public Collection<String> getDistributedObjectNames(String serviceName)
Specified by:
getDistributedObjectNames in interface ProxyService

getAllDistributedObjects

public Collection<DistributedObject> getAllDistributedObjects()
Specified by:
getAllDistributedObjects in interface ProxyService

addProxyListener

public String addProxyListener(DistributedObjectListener distributedObjectListener)
Specified by:
addProxyListener in interface ProxyService

removeProxyListener

public boolean removeProxyListener(String registrationId)
Specified by:
removeProxyListener in interface ProxyService

dispatchEvent

public void dispatchEvent(DistributedObjectEventPacket eventPacket,
                          Object ignore)
Specified by:
dispatchEvent in interface EventPublishingService<DistributedObjectEventPacket,Object>

getPostJoinOperation

public Operation getPostJoinOperation()
Description copied from interface: PostJoinAwareService
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!

Post join operations should return response, at least a null response.

Specified by:
getPostJoinOperation in interface PostJoinAwareService


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.