[jira] [Created] (FLINK-7585) SimpleCounter not thread safe

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-7585) SimpleCounter not thread safe

Shang Yuanchun (Jira)
Hai Zhou created FLINK-7585:
-------------------------------

             Summary: SimpleCounter not thread safe
                 Key: FLINK-7585
                 URL: https://issues.apache.org/jira/browse/FLINK-7585
             Project: Flink
          Issue Type: Bug
          Components: Build System, Metrics
    Affects Versions: 1.3.2
            Reporter: Hai Zhou
            Assignee: Hai Zhou
             Fix For: 1.4.0, 1.3.3


package org.apache.flink.metrics;

/**
 * A simple low-overhead {@link org.apache.flink.metrics.Counter} that is not thread-safe.
 */
public class SimpleCounter implements Counter {

        /** the current count. */
        private long count;




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)