com.hazelcast.jca
Class HazelcastConnectionImpl
java.lang.Object
com.hazelcast.jca.HazelcastConnectionImpl
- All Implemented Interfaces:
- HazelcastConnection, javax.resource.cci.Connection
public class HazelcastConnectionImpl
- extends Object
- implements HazelcastConnection
HazelcastConnectionImpl
public HazelcastConnectionImpl(ManagedConnectionImpl managedConnectionImpl,
Subject subject)
close
public void close()
throws javax.resource.ResourceException
- Specified by:
close
in interface javax.resource.cci.Connection
- Throws:
javax.resource.ResourceException
createInteraction
public javax.resource.cci.Interaction createInteraction()
throws javax.resource.ResourceException
- Specified by:
createInteraction
in interface javax.resource.cci.Connection
- Throws:
javax.resource.ResourceException
getResultSetInfo
public javax.resource.cci.ResultSetInfo getResultSetInfo()
throws javax.resource.NotSupportedException
- Specified by:
getResultSetInfo
in interface javax.resource.cci.Connection
- Throws:
javax.resource.NotSupportedException
- as this is not supported by this resource adapter
getLocalTransaction
public HazelcastTransaction getLocalTransaction()
throws javax.resource.ResourceException
- Specified by:
getLocalTransaction
in interface javax.resource.cci.Connection
- Throws:
javax.resource.ResourceException
getMetaData
public javax.resource.cci.ConnectionMetaData getMetaData()
throws javax.resource.ResourceException
- Specified by:
getMetaData
in interface javax.resource.cci.Connection
- Throws:
javax.resource.ResourceException
toString
public String toString()
- Overrides:
toString
in class Object
getMap
public <K,V> IMap<K,V> getMap(String name)
- Specified by:
getMap
in interface HazelcastConnection
- See Also:
HazelcastInstance.getMap(String)
getQueue
public <E> IQueue<E> getQueue(String name)
- Specified by:
getQueue
in interface HazelcastConnection
- See Also:
HazelcastInstance.getQueue(String)
getTopic
public <E> ITopic<E> getTopic(String name)
- Specified by:
getTopic
in interface HazelcastConnection
- See Also:
HazelcastInstance.getTopic(String)
getSet
public <E> ISet<E> getSet(String name)
- Specified by:
getSet
in interface HazelcastConnection
- See Also:
HazelcastInstance.getSet(String)
getList
public <E> IList<E> getList(String name)
- Specified by:
getList
in interface HazelcastConnection
- See Also:
HazelcastInstance.getList(String)
getMultiMap
public <K,V> MultiMap<K,V> getMultiMap(String name)
- Specified by:
getMultiMap
in interface HazelcastConnection
- See Also:
HazelcastInstance.getMultiMap(String)
getExecutorService
public ExecutorService getExecutorService(String name)
- Specified by:
getExecutorService
in interface HazelcastConnection
- See Also:
HazelcastInstance.getExecutorService(String)
getAtomicLong
public IAtomicLong getAtomicLong(String name)
- Specified by:
getAtomicLong
in interface HazelcastConnection
- See Also:
HazelcastInstance.getAtomicLong(String)
getCountDownLatch
public ICountDownLatch getCountDownLatch(String name)
- Specified by:
getCountDownLatch
in interface HazelcastConnection
- See Also:
HazelcastInstance.getCountDownLatch(String)
getSemaphore
public ISemaphore getSemaphore(String name)
- Specified by:
getSemaphore
in interface HazelcastConnection
- See Also:
HazelcastInstance.getSemaphore(String)
getTransactionalMap
public <K,V> TransactionalMap<K,V> getTransactionalMap(String name)
- Specified by:
getTransactionalMap
in interface HazelcastConnection
- See Also:
TransactionalTaskContext.getMap(String)
getTransactionalQueue
public <E> TransactionalQueue<E> getTransactionalQueue(String name)
- Specified by:
getTransactionalQueue
in interface HazelcastConnection
- See Also:
TransactionalTaskContext.getQueue(String)
getTransactionalMultiMap
public <K,V> TransactionalMultiMap<K,V> getTransactionalMultiMap(String name)
- Specified by:
getTransactionalMultiMap
in interface HazelcastConnection
- See Also:
TransactionalTaskContext.getMultiMap(String)
getTransactionalList
public <E> TransactionalList<E> getTransactionalList(String name)
- Specified by:
getTransactionalList
in interface HazelcastConnection
- See Also:
TransactionalTaskContext.getList(String)
getTransactionalSet
public <E> TransactionalSet<E> getTransactionalSet(String name)
- Specified by:
getTransactionalSet
in interface HazelcastConnection
- See Also:
TransactionalTaskContext.getSet(String)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.