public class HazelcastConnectionImpl extends Object implements HazelcastConnection
HazelcastConnectionImpl| Constructor and Description |
|---|
HazelcastConnectionImpl(ManagedConnectionImpl managedConnectionImpl,
Subject subject) |
| Modifier and Type | Method and Description |
|---|---|
String |
addDistributedObjectListener(com.hazelcast.core.DistributedObjectListener distributedObjectListener) |
void |
close() |
javax.resource.cci.Interaction |
createInteraction() |
<T> T |
executeTransaction(com.hazelcast.transaction.TransactionalTask<T> task) |
<T> T |
executeTransaction(com.hazelcast.transaction.TransactionOptions options,
com.hazelcast.transaction.TransactionalTask<T> task) |
com.hazelcast.core.IAtomicLong |
getAtomicLong(String name) |
<E> com.hazelcast.core.IAtomicReference<E> |
getAtomicReference(String name) |
com.hazelcast.core.ICacheManager |
getCacheManager() |
com.hazelcast.cardinality.CardinalityEstimator |
getCardinalityEstimator(String s) |
com.hazelcast.core.ClientService |
getClientService() |
com.hazelcast.core.Cluster |
getCluster() |
com.hazelcast.config.Config |
getConfig() |
com.hazelcast.core.ICountDownLatch |
getCountDownLatch(String name) |
com.hazelcast.cp.CPSubsystem |
getCPSubsystem() |
<T extends com.hazelcast.core.DistributedObject> |
getDistributedObject(String serviceName,
String name) |
Collection<com.hazelcast.core.DistributedObject> |
getDistributedObjects() |
com.hazelcast.durableexecutor.DurableExecutorService |
getDurableExecutorService(String s) |
com.hazelcast.core.IExecutorService |
getExecutorService(String name) |
com.hazelcast.flakeidgen.FlakeIdGenerator |
getFlakeIdGenerator(String name) |
com.hazelcast.core.IdGenerator |
getIdGenerator(String name) |
com.hazelcast.mapreduce.JobTracker |
getJobTracker(String name)
Deprecated.
|
com.hazelcast.core.LifecycleService |
getLifecycleService() |
<E> com.hazelcast.core.IList<E> |
getList(String name) |
com.hazelcast.core.Endpoint |
getLocalEndpoint() |
HazelcastTransaction |
getLocalTransaction() |
com.hazelcast.core.ILock |
getLock(String key) |
com.hazelcast.logging.LoggingService |
getLoggingService() |
<K,V> com.hazelcast.core.IMap<K,V> |
getMap(String name) |
javax.resource.cci.ConnectionMetaData |
getMetaData() |
<K,V> com.hazelcast.core.MultiMap<K,V> |
getMultiMap(String name) |
String |
getName() |
com.hazelcast.core.PartitionService |
getPartitionService() |
com.hazelcast.crdt.pncounter.PNCounter |
getPNCounter(String name) |
<E> com.hazelcast.core.IQueue<E> |
getQueue(String name) |
com.hazelcast.quorum.QuorumService |
getQuorumService() |
<E> com.hazelcast.core.ITopic<E> |
getReliableTopic(String name) |
<K,V> com.hazelcast.core.ReplicatedMap<K,V> |
getReplicatedMap(String name) |
javax.resource.cci.ResultSetInfo |
getResultSetInfo() |
<E> com.hazelcast.ringbuffer.Ringbuffer<E> |
getRingbuffer(String name) |
com.hazelcast.scheduledexecutor.IScheduledExecutorService |
getScheduledExecutorService(String s) |
com.hazelcast.core.ISemaphore |
getSemaphore(String name) |
<E> com.hazelcast.core.ISet<E> |
getSet(String name) |
<E> com.hazelcast.core.ITopic<E> |
getTopic(String name) |
<E> com.hazelcast.core.TransactionalList<E> |
getTransactionalList(String name) |
<K,V> com.hazelcast.core.TransactionalMap<K,V> |
getTransactionalMap(String name) |
<K,V> com.hazelcast.core.TransactionalMultiMap<K,V> |
getTransactionalMultiMap(String name) |
<E> com.hazelcast.core.TransactionalQueue<E> |
getTransactionalQueue(String name) |
<E> com.hazelcast.core.TransactionalSet<E> |
getTransactionalSet(String name) |
ConcurrentMap<String,Object> |
getUserContext() |
com.hazelcast.transaction.HazelcastXAResource |
getXAResource() |
com.hazelcast.transaction.TransactionContext |
newTransactionContext() |
com.hazelcast.transaction.TransactionContext |
newTransactionContext(com.hazelcast.transaction.TransactionOptions options) |
boolean |
removeDistributedObjectListener(String registrationId) |
void |
shutdown() |
String |
toString() |
public HazelcastConnectionImpl(ManagedConnectionImpl managedConnectionImpl, Subject subject)
public void close()
throws javax.resource.ResourceException
close in interface javax.resource.cci.Connectionjavax.resource.ResourceExceptionpublic javax.resource.cci.Interaction createInteraction()
throws javax.resource.ResourceException
createInteraction in interface javax.resource.cci.Connectionjavax.resource.ResourceExceptionpublic javax.resource.cci.ResultSetInfo getResultSetInfo()
throws javax.resource.NotSupportedException
getResultSetInfo in interface javax.resource.cci.Connectionjavax.resource.NotSupportedException - as this is not supported by this resource adapterpublic HazelcastTransaction getLocalTransaction() throws javax.resource.ResourceException
getLocalTransaction in interface javax.resource.cci.Connectionjavax.resource.ResourceExceptionpublic javax.resource.cci.ConnectionMetaData getMetaData()
throws javax.resource.ResourceException
getMetaData in interface javax.resource.cci.Connectionjavax.resource.ResourceExceptionpublic com.hazelcast.flakeidgen.FlakeIdGenerator getFlakeIdGenerator(String name)
getFlakeIdGenerator in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.crdt.pncounter.PNCounter getPNCounter(String name)
getPNCounter in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.cp.CPSubsystem getCPSubsystem()
getCPSubsystem in interface com.hazelcast.core.HazelcastInstancepublic <K,V> com.hazelcast.core.IMap<K,V> getMap(String name)
getMap in interface com.hazelcast.core.HazelcastInstancepublic <E> com.hazelcast.core.IQueue<E> getQueue(String name)
getQueue in interface com.hazelcast.core.HazelcastInstancepublic <E> com.hazelcast.core.ITopic<E> getTopic(String name)
getTopic in interface com.hazelcast.core.HazelcastInstancepublic <E> com.hazelcast.core.ITopic<E> getReliableTopic(String name)
getReliableTopic in interface com.hazelcast.core.HazelcastInstancepublic <E> com.hazelcast.core.ISet<E> getSet(String name)
getSet in interface com.hazelcast.core.HazelcastInstancepublic <E> com.hazelcast.core.IList<E> getList(String name)
getList in interface com.hazelcast.core.HazelcastInstancepublic <K,V> com.hazelcast.core.MultiMap<K,V> getMultiMap(String name)
getMultiMap in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.core.IExecutorService getExecutorService(String name)
getExecutorService in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.core.IAtomicLong getAtomicLong(String name)
getAtomicLong in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.core.ICountDownLatch getCountDownLatch(String name)
getCountDownLatch in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.core.ISemaphore getSemaphore(String name)
getSemaphore in interface com.hazelcast.core.HazelcastInstancepublic Collection<com.hazelcast.core.DistributedObject> getDistributedObjects()
getDistributedObjects in interface com.hazelcast.core.HazelcastInstancepublic String addDistributedObjectListener(com.hazelcast.core.DistributedObjectListener distributedObjectListener)
addDistributedObjectListener in interface com.hazelcast.core.HazelcastInstancepublic boolean removeDistributedObjectListener(String registrationId)
removeDistributedObjectListener in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.config.Config getConfig()
getConfig in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.core.PartitionService getPartitionService()
getPartitionService in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.quorum.QuorumService getQuorumService()
getQuorumService in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.core.ClientService getClientService()
getClientService in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.logging.LoggingService getLoggingService()
getLoggingService in interface com.hazelcast.core.HazelcastInstancepublic <T extends com.hazelcast.core.DistributedObject> T getDistributedObject(String serviceName, String name)
getDistributedObject in interface com.hazelcast.core.HazelcastInstancepublic ConcurrentMap<String,Object> getUserContext()
getUserContext in interface com.hazelcast.core.HazelcastInstancepublic <K,V> com.hazelcast.core.TransactionalMap<K,V> getTransactionalMap(String name)
getTransactionalMap in interface HazelcastConnectionTransactionalTaskContext.getMap(String)public <E> com.hazelcast.core.TransactionalQueue<E> getTransactionalQueue(String name)
getTransactionalQueue in interface HazelcastConnectionTransactionalTaskContext.getQueue(String)public <K,V> com.hazelcast.core.TransactionalMultiMap<K,V> getTransactionalMultiMap(String name)
getTransactionalMultiMap in interface HazelcastConnectionTransactionalTaskContext.getMultiMap(String)public <E> com.hazelcast.core.TransactionalList<E> getTransactionalList(String name)
getTransactionalList in interface HazelcastConnectionTransactionalTaskContext.getList(String)public <E> com.hazelcast.core.TransactionalSet<E> getTransactionalSet(String name)
getTransactionalSet in interface HazelcastConnectionTransactionalTaskContext.getSet(String)public com.hazelcast.core.IdGenerator getIdGenerator(String name)
getIdGenerator in interface com.hazelcast.core.HazelcastInstancepublic <E> com.hazelcast.core.IAtomicReference<E> getAtomicReference(String name)
getAtomicReference in interface com.hazelcast.core.HazelcastInstancepublic <K,V> com.hazelcast.core.ReplicatedMap<K,V> getReplicatedMap(String name)
getReplicatedMap in interface com.hazelcast.core.HazelcastInstancepublic <E> com.hazelcast.ringbuffer.Ringbuffer<E> getRingbuffer(String name)
getRingbuffer in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.mapreduce.JobTracker getJobTracker(String name)
getJobTracker in interface com.hazelcast.core.HazelcastInstancepublic String getName()
getName in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.core.ILock getLock(String key)
getLock in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.core.Cluster getCluster()
getCluster in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.core.Endpoint getLocalEndpoint()
getLocalEndpoint in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.transaction.HazelcastXAResource getXAResource()
getXAResource in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.durableexecutor.DurableExecutorService getDurableExecutorService(String s)
getDurableExecutorService in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.core.ICacheManager getCacheManager()
getCacheManager in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.cardinality.CardinalityEstimator getCardinalityEstimator(String s)
getCardinalityEstimator in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.scheduledexecutor.IScheduledExecutorService getScheduledExecutorService(String s)
getScheduledExecutorService in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.core.LifecycleService getLifecycleService()
getLifecycleService in interface com.hazelcast.core.HazelcastInstancepublic void shutdown()
shutdown in interface com.hazelcast.core.HazelcastInstancepublic <T> T executeTransaction(com.hazelcast.transaction.TransactionalTask<T> task)
throws com.hazelcast.transaction.TransactionException
executeTransaction in interface com.hazelcast.core.HazelcastInstancecom.hazelcast.transaction.TransactionExceptionpublic <T> T executeTransaction(com.hazelcast.transaction.TransactionOptions options,
com.hazelcast.transaction.TransactionalTask<T> task)
throws com.hazelcast.transaction.TransactionException
executeTransaction in interface com.hazelcast.core.HazelcastInstancecom.hazelcast.transaction.TransactionExceptionpublic com.hazelcast.transaction.TransactionContext newTransactionContext()
newTransactionContext in interface com.hazelcast.core.HazelcastInstancepublic com.hazelcast.transaction.TransactionContext newTransactionContext(com.hazelcast.transaction.TransactionOptions options)
newTransactionContext in interface com.hazelcast.core.HazelcastInstanceCopyright © 2019. All Rights Reserved.