public class HazelcastClientInstanceImpl extends Object implements HazelcastInstance, SerializationServiceSupport
Constructor and Description |
---|
HazelcastClientInstanceImpl(ClientConfig config,
ClientConnectionManagerFactory clientConnectionManagerFactory,
AddressProvider externalAddressProvider) |
public HazelcastClientInstanceImpl(ClientConfig config, ClientConnectionManagerFactory clientConnectionManagerFactory, AddressProvider externalAddressProvider)
public int getId()
public void start()
public MetricsRegistryImpl getMetricsRegistry()
public HazelcastXAResource getXAResource()
getXAResource
in interface HazelcastInstance
public Config getConfig()
getConfig
in interface HazelcastInstance
public HazelcastProperties getProperties()
public String getName()
getName
in interface HazelcastInstance
public <E> IQueue<E> getQueue(String name)
getQueue
in interface HazelcastInstance
public <E> ITopic<E> getTopic(String name)
getTopic
in interface HazelcastInstance
public <E> ISet<E> getSet(String name)
getSet
in interface HazelcastInstance
public <E> IList<E> getList(String name)
getList
in interface HazelcastInstance
public <K,V> IMap<K,V> getMap(String name)
getMap
in interface HazelcastInstance
public <K,V> MultiMap<K,V> getMultiMap(String name)
getMultiMap
in interface HazelcastInstance
public <K,V> ReplicatedMap<K,V> getReplicatedMap(String name)
getReplicatedMap
in interface HazelcastInstance
public JobTracker getJobTracker(String name)
getJobTracker
in interface HazelcastInstance
public ILock getLock(String key)
getLock
in interface HazelcastInstance
public <E> ITopic<E> getReliableTopic(String name)
getReliableTopic
in interface HazelcastInstance
public <E> Ringbuffer<E> getRingbuffer(String name)
getRingbuffer
in interface HazelcastInstance
public <K,V> ICache<K,V> getCache(String name)
getCache
in interface HazelcastInstance
public Cluster getCluster()
getCluster
in interface HazelcastInstance
public Client getLocalEndpoint()
getLocalEndpoint
in interface HazelcastInstance
public IExecutorService getExecutorService(String name)
getExecutorService
in interface HazelcastInstance
public <T> T executeTransaction(TransactionalTask<T> task) throws TransactionException
executeTransaction
in interface HazelcastInstance
TransactionException
public <T> T executeTransaction(TransactionOptions options, TransactionalTask<T> task) throws TransactionException
executeTransaction
in interface HazelcastInstance
TransactionException
public TransactionContext newTransactionContext()
newTransactionContext
in interface HazelcastInstance
public TransactionContext newTransactionContext(TransactionOptions options)
newTransactionContext
in interface HazelcastInstance
public ClientTransactionManagerService getTransactionManager()
public IdGenerator getIdGenerator(String name)
getIdGenerator
in interface HazelcastInstance
public IAtomicLong getAtomicLong(String name)
getAtomicLong
in interface HazelcastInstance
public <E> IAtomicReference<E> getAtomicReference(String name)
getAtomicReference
in interface HazelcastInstance
public ICountDownLatch getCountDownLatch(String name)
getCountDownLatch
in interface HazelcastInstance
public ISemaphore getSemaphore(String name)
getSemaphore
in interface HazelcastInstance
public Collection<DistributedObject> getDistributedObjects()
getDistributedObjects
in interface HazelcastInstance
public String addDistributedObjectListener(DistributedObjectListener distributedObjectListener)
addDistributedObjectListener
in interface HazelcastInstance
public boolean removeDistributedObjectListener(String registrationId)
removeDistributedObjectListener
in interface HazelcastInstance
public PartitionService getPartitionService()
getPartitionService
in interface HazelcastInstance
public QuorumService getQuorumService()
getQuorumService
in interface HazelcastInstance
public ClientService getClientService()
getClientService
in interface HazelcastInstance
public LoggingService getLoggingService()
getLoggingService
in interface HazelcastInstance
public LifecycleService getLifecycleService()
getLifecycleService
in interface HazelcastInstance
public <T extends DistributedObject> T getDistributedObject(String serviceName, String name)
getDistributedObject
in interface HazelcastInstance
public ConcurrentMap<String,Object> getUserContext()
getUserContext
in interface HazelcastInstance
public ClientConfig getClientConfig()
public SerializationService getSerializationService()
getSerializationService
in interface SerializationServiceSupport
public ProxyManager getProxyManager()
public ClientConnectionManager getConnectionManager()
public ClientClusterService getClientClusterService()
public ClientExecutionService getClientExecutionService()
public ClientPartitionService getClientPartitionService()
public ClientInvocationService getInvocationService()
public ClientListenerService getListenerService()
public NearCacheManager getNearCacheManager()
public ThreadGroup getThreadGroup()
public LoadBalancer getLoadBalancer()
public ClientExtension getClientExtension()
public Credentials getCredentials()
public short getProtocolVersion()
public void shutdown()
shutdown
in interface HazelcastInstance
public void doShutdown()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.