You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by asdf2014 <gi...@git.apache.org> on 2018/01/17 08:02:22 UTC

[GitHub] flume pull request #194: Using `volatile + ConcurrentHashMap + LongAdder` in...

GitHub user asdf2014 opened a pull request:

    https://github.com/apache/flume/pull/194

    Using `volatile + ConcurrentHashMap + LongAdder` instead of `syncrhonzied + HashMap + AtomicLong` for CounterGroup

    Using `volatile + ConcurrentHashMap + LongAdder` instead of `syncrhonzied + HashMap + AtomicLong` for CounterGroup.
    
    Get more details from my blog: [yuzhouwan.com](https://yuzhouwan.com/posts/31915#LongAdder).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/asdf2014/flume counter_group

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flume/pull/194.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #194
    
----
commit 9bd84f6f2fa77b99414543ec78a61c11018b5a38
Author: asdf2014 <be...@...>
Date:   2018-01-17T07:55:02Z

    Using `volatile + ConcurrentHashMap + LongAdder` instead of `syncrhonzied + HashMap + AtomicLong` for CounterGroup

----


---