You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Nikolay Izhikov (Jira)" <ji...@apache.org> on 2021/12/27 14:29:00 UTC

[jira] [Updated] (IGNITE-16218) Migrate TxCounters multimaps to single map

     [ https://issues.apache.org/jira/browse/IGNITE-16218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikolay Izhikov updated IGNITE-16218:
-------------------------------------
    Priority: Minor  (was: Major)

> Migrate TxCounters multimaps to single map
> ------------------------------------------
>
>                 Key: IGNITE-16218
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16218
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Nikolay Izhikov
>            Priority: Minor
>
> Maps can be created lazily.
> Morover inner maps can be combined into single.
> {code:java}
>     /** Size changes for cache partitions made by transaction */
>     private final Map<Integer, Map<Integer, AtomicLong>> sizeDeltas = new ConcurrentHashMap<>();
>     /** Per-partition update counter accumulator. */
>     private final Map<Integer, Map<Integer, AtomicLong>> updCntrsAcc = new HashMap<>();
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)