|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hazelcast.spi.impl.proxyservice.impl.ProxyRegistry
public final class ProxyRegistry
A ProxyRegistry contains all proxies for a given service. For example, it contains all proxies for the IMap.
Method Summary | |
---|---|
DistributedObjectFuture |
createProxy(String name,
boolean publishEvent,
boolean initialize)
Creates a DistributedObject proxy if it is not created yet |
Collection<String> |
getDistributedObjectNames()
|
void |
getDistributedObjects(Collection<DistributedObject> result)
Gets the DistributedObjects in this registry. |
int |
getProxyCount()
Returns the number of proxies for this ProxyRegistry. |
void |
getProxyInfos(Collection<ProxyInfo> result)
Gets the ProxyInfo of all proxies in this registry. |
String |
getServiceName()
Returns the name of the service for this ProxyRegistry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getServiceName()
public int getProxyCount()
public Collection<String> getDistributedObjectNames()
public void getProxyInfos(Collection<ProxyInfo> result)
result
- The ProxyInfo of all proxies in this registry.public void getDistributedObjects(Collection<DistributedObject> result)
result
- The DistributedObjects in this registry.public DistributedObjectFuture createProxy(String name, boolean publishEvent, boolean initialize)
name
- The name of the istributedObject proxy object.publishEvent
- true if a DistributedObjectEvent should be fired.initialize
- true if he DistributedObject proxy object should be initialized.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |