com.hazelcast.transaction
Interface TransactionalTaskContext

All Known Subinterfaces:
TransactionContext
All Known Implementing Classes:
TransactionContextProxy

public interface TransactionalTaskContext

Provides a context to access transactional data-structures like the TransactionalMap.


Method Summary
<E> TransactionalList<E>
getList(String name)
          Returns the transactional list instance with the specified name.
<K,V> TransactionalMap<K,V>
getMap(String name)
          Returns the transactional distributed map instance with the specified name.
<K,V> TransactionalMultiMap<K,V>
getMultiMap(String name)
          Returns the transactional multimap instance with the specified name.
<E> TransactionalQueue<E>
getQueue(String name)
          Returns the transactional queue instance with the specified name.
<E> TransactionalSet<E>
getSet(String name)
          Returns the transactional set instance with the specified name.
<T extends TransactionalObject>
T
getTransactionalObject(String serviceName, String name)
           
 

Method Detail

getMap

<K,V> TransactionalMap<K,V> getMap(String name)
Returns the transactional distributed map instance with the specified name.

Parameters:
name - name of the distributed map
Returns:
transactional distributed map instance with the specified name

getQueue

<E> TransactionalQueue<E> getQueue(String name)
Returns the transactional queue instance with the specified name.

Parameters:
name - name of the queue
Returns:
transactional queue instance with the specified name

getMultiMap

<K,V> TransactionalMultiMap<K,V> getMultiMap(String name)
Returns the transactional multimap instance with the specified name.

Parameters:
name - name of the multimap
Returns:
transactional multimap instance with the specified name

getList

<E> TransactionalList<E> getList(String name)
Returns the transactional list instance with the specified name.

Parameters:
name - name of the list
Returns:
transactional list instance with the specified name

getSet

<E> TransactionalSet<E> getSet(String name)
Returns the transactional set instance with the specified name.

Parameters:
name - name of the set
Returns:
transactional set instance with the specified name

getTransactionalObject

<T extends TransactionalObject> T getTransactionalObject(String serviceName,
                                                         String name)


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.