public void increment(){
  int counterVal=counter.getAndIncrement();
  if (0 == counterVal) {
    becameBusyAt=SystemClock.uptimeMillis();
  }
  if (debugCounting) {
    Log.i(TAG,"Resource: " + resourceName + " in-use-count incremented to: "+ (counterVal + 1));
  }
}

public void increment ( ) { int counterVal = counter . getAndIncrement ( ) ; if ( 0 == counterVal ) { becameBusyAt = SystemClock . uptimeMillis ( ) ; } if ( debugCounting ) { Log . i ( TAG , "Resource: " + resourceName + " in-use-count incremented to: " + ( counterVal + 1 ) ) ; } }
increments the count of in - flight transactions to the resource being monitored . this method can be called from any thread .
