com.hazelcast.client.impl
Class HazelcastClientProxy
java.lang.Object
com.hazelcast.client.impl.HazelcastClientProxy
- All Implemented Interfaces:
- HazelcastInstance
public final class HazelcastClientProxy
- extends Object
- implements HazelcastInstance
A client-side proxy HazelcastInstance instance.
client
public volatile HazelcastClientInstanceImpl client
HazelcastClientProxy
public HazelcastClientProxy(HazelcastClientInstanceImpl client)
getConfig
public Config getConfig()
- Specified by:
getConfig in interface HazelcastInstance
getName
public String getName()
- Specified by:
getName in interface HazelcastInstance
getQueue
public <E> IQueue<E> getQueue(String name)
- Specified by:
getQueue in interface HazelcastInstance
getTopic
public <E> ITopic<E> getTopic(String name)
- Specified by:
getTopic in interface HazelcastInstance
getSet
public <E> ISet<E> getSet(String name)
- Specified by:
getSet in interface HazelcastInstance
getList
public <E> IList<E> getList(String name)
- Specified by:
getList in interface HazelcastInstance
getMap
public <K,V> IMap<K,V> getMap(String name)
- Specified by:
getMap in interface HazelcastInstance
getMultiMap
public <K,V> MultiMap<K,V> getMultiMap(String name)
- Specified by:
getMultiMap in interface HazelcastInstance
getReplicatedMap
public <K,V> ReplicatedMap<K,V> getReplicatedMap(String name)
- Specified by:
getReplicatedMap in interface HazelcastInstance
getJobTracker
public JobTracker getJobTracker(String name)
- Specified by:
getJobTracker in interface HazelcastInstance
getLock
public ILock getLock(Object key)
- Specified by:
getLock in interface HazelcastInstance
getLock
public ILock getLock(String key)
- Specified by:
getLock in interface HazelcastInstance
getCluster
public Cluster getCluster()
- Specified by:
getCluster in interface HazelcastInstance
getLocalEndpoint
public Client getLocalEndpoint()
- Specified by:
getLocalEndpoint in interface HazelcastInstance
getExecutorService
public IExecutorService getExecutorService(String name)
- Specified by:
getExecutorService in interface HazelcastInstance
executeTransaction
public <T> T executeTransaction(TransactionalTask<T> task)
throws TransactionException
- Specified by:
executeTransaction in interface HazelcastInstance
- Throws:
TransactionException
executeTransaction
public <T> T executeTransaction(TransactionOptions options,
TransactionalTask<T> task)
throws TransactionException
- Specified by:
executeTransaction in interface HazelcastInstance
- Throws:
TransactionException
newTransactionContext
public TransactionContext newTransactionContext()
- Specified by:
newTransactionContext in interface HazelcastInstance
newTransactionContext
public TransactionContext newTransactionContext(TransactionOptions options)
- Specified by:
newTransactionContext in interface HazelcastInstance
getIdGenerator
public IdGenerator getIdGenerator(String name)
- Specified by:
getIdGenerator in interface HazelcastInstance
getAtomicLong
public IAtomicLong getAtomicLong(String name)
- Specified by:
getAtomicLong in interface HazelcastInstance
getAtomicReference
public <E> IAtomicReference<E> getAtomicReference(String name)
- Specified by:
getAtomicReference in interface HazelcastInstance
getCountDownLatch
public ICountDownLatch getCountDownLatch(String name)
- Specified by:
getCountDownLatch in interface HazelcastInstance
getSemaphore
public ISemaphore getSemaphore(String name)
- Specified by:
getSemaphore in interface HazelcastInstance
getDistributedObjects
public Collection<DistributedObject> getDistributedObjects()
- Specified by:
getDistributedObjects in interface HazelcastInstance
addDistributedObjectListener
public String addDistributedObjectListener(DistributedObjectListener distributedObjectListener)
- Specified by:
addDistributedObjectListener in interface HazelcastInstance
removeDistributedObjectListener
public boolean removeDistributedObjectListener(String registrationId)
- Specified by:
removeDistributedObjectListener in interface HazelcastInstance
getPartitionService
public PartitionService getPartitionService()
- Specified by:
getPartitionService in interface HazelcastInstance
getClientService
public ClientService getClientService()
- Specified by:
getClientService in interface HazelcastInstance
getLoggingService
public LoggingService getLoggingService()
- Specified by:
getLoggingService in interface HazelcastInstance
getLifecycleService
public LifecycleService getLifecycleService()
- Specified by:
getLifecycleService in interface HazelcastInstance
getDistributedObject
@Deprecated
public <T extends DistributedObject> T getDistributedObject(String serviceName,
Object id)
- Deprecated.
- Specified by:
getDistributedObject in interface HazelcastInstance
getDistributedObject
public <T extends DistributedObject> T getDistributedObject(String serviceName,
String name)
- Specified by:
getDistributedObject in interface HazelcastInstance
getUserContext
public ConcurrentMap<String,Object> getUserContext()
- Specified by:
getUserContext in interface HazelcastInstance
getClientConfig
public ClientConfig getClientConfig()
shutdown
public void shutdown()
- Specified by:
shutdown in interface HazelcastInstance
getSerializationService
public SerializationService getSerializationService()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.