Code example for AtomicLong

Methods: incrementAndGet

0
  private final AtomicLong unparseableCount = new AtomicLong(0);
  private final AtomicLong rowOutputCount = new AtomicLong(0);
 
  public void incrementProcessed() 
  { 
    processedCount.incrementAndGet();
  } 
 
  public void incrementThrownAway() 
  { 
    thrownAwayCount.incrementAndGet();
  } 
 
  public void incrementUnparseable() 
  { 
    unparseableCount.incrementAndGet();
  } 
 
  public void incrementRowOutputCount(long numRows)
  { 
Contextual code suggestions in your IDE  Get Codota for Java