accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Medinets <david.medin...@gmail.com>
Subject StatsIterator - what is the significance of 23?
Date Wed, 04 Sep 2013 01:29:46 GMT
At the risk of having overlooked something obvious, I was curious about the
occurrence of 23 in the StatsIterator code:

  public void next() throws IOException {
    super.next();
    numRead++;

    if (numRead % 23 == 0) {
      readCounter.addAndGet(numRead);
      numRead = 0;
    }
  }

I'm also wondering about the StatsIterator in general. The member variables
are all private. They are incremented but never used.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message