Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-7585

SimpleCounter not thread safe

    XMLWordPrintableJSON

Details

    Description

      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;

      Attachments

        Activity

          People

            yew1eb Hai Zhou
            yew1eb Hai Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: