public final class ProxyManager extends Object
ClientProxyFactory
s.Constructor and Description |
---|
ProxyManager(HazelcastClientInstanceImpl client) |
Modifier and Type | Method and Description |
---|---|
String |
addDistributedObjectListener(DistributedObjectListener listener) |
void |
destroy() |
Address |
findNextAddressToSendCreateRequest() |
ClientProxyFactory |
getClientProxyFactory(String serviceName) |
ClientContext |
getContext() |
Collection<? extends DistributedObject> |
getDistributedObjects() |
HazelcastInstance |
getHazelcastInstance() |
ClientProxy |
getOrCreateProxy(String service,
String id) |
void |
init(ClientConfig config,
ClientContext clientContext) |
void |
register(String serviceName,
Class<? extends ClientProxy> proxyType) |
void |
register(String serviceName,
ClientProxyFactory factory) |
boolean |
removeDistributedObjectListener(String id) |
void |
removeProxy(String service,
String id) |
public ProxyManager(HazelcastClientInstanceImpl client)
public void init(ClientConfig config, ClientContext clientContext)
public ClientContext getContext()
public HazelcastInstance getHazelcastInstance()
public ClientProxyFactory getClientProxyFactory(String serviceName)
public void register(String serviceName, ClientProxyFactory factory)
public void register(String serviceName, Class<? extends ClientProxy> proxyType)
public ClientProxy getOrCreateProxy(String service, String id)
public Address findNextAddressToSendCreateRequest()
public Collection<? extends DistributedObject> getDistributedObjects()
public void destroy()
public String addDistributedObjectListener(DistributedObjectListener listener)
public boolean removeDistributedObjectListener(String id)
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.