com.hazelcast.spi.impl.proxyservice.impl
public final class ProxyRegistry extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.