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 void onClusterConnect(Connection ownerConnection) throws Exception
Exceptionpublic MetricsRegistryImpl getMetricsRegistry()
public HazelcastXAResource getXAResource()
getXAResource in interface HazelcastInstancepublic Config getConfig()
getConfig in interface HazelcastInstancepublic HazelcastProperties getProperties()
public String getName()
getName in interface HazelcastInstancepublic <E> IQueue<E> getQueue(String name)
getQueue in interface HazelcastInstancepublic <E> ITopic<E> getTopic(String name)
getTopic in interface HazelcastInstancepublic <E> ISet<E> getSet(String name)
getSet in interface HazelcastInstancepublic <E> IList<E> getList(String name)
getList in interface HazelcastInstancepublic <K,V> IMap<K,V> getMap(String name)
getMap in interface HazelcastInstancepublic <K,V> MultiMap<K,V> getMultiMap(String name)
getMultiMap in interface HazelcastInstancepublic <K,V> ReplicatedMap<K,V> getReplicatedMap(String name)
getReplicatedMap in interface HazelcastInstancepublic JobTracker getJobTracker(String name)
getJobTracker in interface HazelcastInstancepublic ILock getLock(String key)
getLock in interface HazelcastInstancepublic <E> ITopic<E> getReliableTopic(String name)
getReliableTopic in interface HazelcastInstancepublic <E> Ringbuffer<E> getRingbuffer(String name)
getRingbuffer in interface HazelcastInstancepublic ClientICacheManager getCacheManager()
getCacheManager in interface HazelcastInstancepublic Cluster getCluster()
getCluster in interface HazelcastInstancepublic Client getLocalEndpoint()
getLocalEndpoint in interface HazelcastInstancepublic IExecutorService getExecutorService(String name)
getExecutorService in interface HazelcastInstancepublic DurableExecutorService getDurableExecutorService(String name)
getDurableExecutorService in interface HazelcastInstancepublic <T> T executeTransaction(TransactionalTask<T> task) throws TransactionException
executeTransaction in interface HazelcastInstanceTransactionExceptionpublic <T> T executeTransaction(TransactionOptions options, TransactionalTask<T> task) throws TransactionException
executeTransaction in interface HazelcastInstanceTransactionExceptionpublic TransactionContext newTransactionContext()
newTransactionContext in interface HazelcastInstancepublic TransactionContext newTransactionContext(TransactionOptions options)
newTransactionContext in interface HazelcastInstancepublic ClientTransactionManagerService getTransactionManager()
public IdGenerator getIdGenerator(String name)
getIdGenerator in interface HazelcastInstancepublic FlakeIdGenerator getFlakeIdGenerator(String name)
getFlakeIdGenerator in interface HazelcastInstancepublic IAtomicLong getAtomicLong(String name)
getAtomicLong in interface HazelcastInstancepublic CardinalityEstimator getCardinalityEstimator(String name)
getCardinalityEstimator in interface HazelcastInstancepublic PNCounter getPNCounter(String name)
getPNCounter in interface HazelcastInstancepublic <E> IAtomicReference<E> getAtomicReference(String name)
getAtomicReference in interface HazelcastInstancepublic ICountDownLatch getCountDownLatch(String name)
getCountDownLatch in interface HazelcastInstancepublic ISemaphore getSemaphore(String name)
getSemaphore in interface HazelcastInstancepublic IScheduledExecutorService getScheduledExecutorService(String name)
getScheduledExecutorService in interface HazelcastInstancepublic Collection<DistributedObject> getDistributedObjects()
getDistributedObjects in interface HazelcastInstancepublic String addDistributedObjectListener(DistributedObjectListener distributedObjectListener)
addDistributedObjectListener in interface HazelcastInstancepublic boolean removeDistributedObjectListener(String registrationId)
removeDistributedObjectListener in interface HazelcastInstancepublic PartitionService getPartitionService()
getPartitionService in interface HazelcastInstancepublic QuorumService getQuorumService()
getQuorumService in interface HazelcastInstancepublic ClientService getClientService()
getClientService in interface HazelcastInstancepublic LoggingService getLoggingService()
getLoggingService in interface HazelcastInstancepublic LifecycleService getLifecycleService()
getLifecycleService in interface HazelcastInstancepublic <T extends DistributedObject> T getDistributedObject(String serviceName, String name)
getDistributedObject in interface HazelcastInstancepublic ConcurrentMap<String,Object> getUserContext()
getUserContext in interface HazelcastInstancepublic ClientConfig getClientConfig()
public SerializationService getSerializationService()
getSerializationService in interface SerializationServiceSupportpublic ClientUserCodeDeploymentService getUserCodeDeploymentService()
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 LoadBalancer getLoadBalancer()
public ClientExtension getClientExtension()
public ICredentialsFactory getCredentialsFactory()
public short getProtocolVersion()
public void shutdown()
shutdown in interface HazelcastInstancepublic void doShutdown()
public ClientLockReferenceIdGenerator getLockReferenceIdGenerator()
public ClientExceptionFactory getClientExceptionFactory()
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.