Code example for AtomicLong

Methods: addAndGet

0
    unparseableCount.incrementAndGet();
  } 
 
  public void incrementRowOutputCount(long numRows)
  { 
    rowOutputCount.addAndGet(numRows);
  } 
 
  public long processed() 
  { 
    return processedCount.get();
  } 
 
  public long thrownAway() 
  { 
    return thrownAwayCount.get();
  } 
 
  public long unparseable() 
  { 
    return unparseableCount.get();