public void increment(){
  counter.getAndIncrement();
}

public void increment ( ) { counter . getAndIncrement ( ) ; }
increments the count of in - flight transactions to the resource being monitored .
