Class ManagedTransactionalTaskContext

    • Method Detail

      • getMap

        public <K,​V> TransactionalMap<K,​V> getMap​(java.lang.String name)
        Description copied from interface: TransactionalTaskContext
        Returns the transactional distributed map instance with the specified name.
        Specified by:
        getMap in interface TransactionalTaskContext
        Type Parameters:
        K - type of the map key
        V - type of the map value
        Parameters:
        name - name of the distributed transactional map
        Returns:
        transactional distributed map instance with the specified name
      • getQueue

        public <E> TransactionalQueue<E> getQueue​(java.lang.String name)
        Description copied from interface: TransactionalTaskContext
        Returns the transactional queue instance with the specified name.
        Specified by:
        getQueue in interface TransactionalTaskContext
        Type Parameters:
        E - the type of elements held in the queue
        Parameters:
        name - name of the transactional queue
        Returns:
        transactional queue instance with the specified name
      • getMultiMap

        public <K,​V> TransactionalMultiMap<K,​V> getMultiMap​(java.lang.String name)
        Description copied from interface: TransactionalTaskContext
        Returns the transactional multimap instance with the specified name.
        Specified by:
        getMultiMap in interface TransactionalTaskContext
        Type Parameters:
        K - type of the multimap key
        V - type of the multimap value
        Parameters:
        name - name of the transactional multimap
        Returns:
        transactional multimap instance with the specified name
      • getList

        public <E> TransactionalList<E> getList​(java.lang.String name)
        Description copied from interface: TransactionalTaskContext
        Returns the transactional list instance with the specified name.
        Specified by:
        getList in interface TransactionalTaskContext
        Type Parameters:
        E - the type of elements held in the list
        Parameters:
        name - name of the transactional list
        Returns:
        transactional list instance with the specified name
      • getSet

        public <E> TransactionalSet<E> getSet​(java.lang.String name)
        Description copied from interface: TransactionalTaskContext
        Returns the transactional set instance with the specified name.
        Specified by:
        getSet in interface TransactionalTaskContext
        Type Parameters:
        E - the type of elements held in the set
        Parameters:
        name - name of the transactional set
        Returns:
        transactional set instance with the specified name
      • getTransactionalObject

        public <T extends TransactionalObject> T getTransactionalObject​(java.lang.String serviceName,
                                                                        java.lang.String name)
        Description copied from interface: TransactionalTaskContext
        Returns the transactional object instance with the specified name and service name.
        Specified by:
        getTransactionalObject in interface TransactionalTaskContext
        Type Parameters:
        T - the type of the transactional object
        Parameters:
        serviceName - service name for the transactional object instance
        name - name of the transactional object instance
        Returns:
        transactional object instance with the specified name