Nikolay Izhikov created IGNITE-16218:
----------------------------------------

             Summary: 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


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)

Reply via email to