[ 
https://issues.apache.org/jira/browse/IGNITE-8075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451237#comment-16451237
 ] 

Ivan Daschinskiy edited comment on IGNITE-8075 at 4/24/18 10:36 PM:
--------------------------------------------------------------------

To overcome this difficulties, now GetActiveLocalTransactions return read only 
disposable collection. Now user can simply wrap call of this method in  
"using", do whatever he/she wants and don't care about disposing bunch of 
transactions.


was (Author: ivandasch):
To overcome this difficulties, I can implement sealed internal disposable list 
of transactions and return it instead of ordinary list.

> .NET: setRollbackOnTopologyChangeTimeout, withLabel, localActiveTransactions, 
> setTxTimeoutOnPartitionMapExchange
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-8075
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8075
>             Project: Ignite
>          Issue Type: Improvement
>    Affects Versions: 2.4
>            Reporter: Alexei Scherbakov
>            Assignee: Ivan Daschinskiy
>            Priority: Major
>             Fix For: 2.6
>
>
> Neet to add new methods as part of .NET API:
> org.apache.ignite.configuration.TransactionConfiguration#txTimeoutOnPartitionMapExchange
>  - timeout for automatic rollback on exchange.
> org.apache.ignite.IgniteTransactions#withLabel - tx label
> org.apache.ignite.IgniteTransactions#localActiveTransactions - list of local 
> active transactions.
> org.apache.ignite.IgniteCluster#setTxTimeoutOnPartitionMapExchange
> Java implementation is currently available at a branch [1]
> [1] https://github.com/gridgain/apache-ignite/tree/ignite-6827-2



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to