private int reconcilePutPermits(){
  putPermits+=takeSidePutPermits;
  takeSidePutPermits=0;
  return putPermits;
}

private int reconcilePutPermits ( ) { putPermits += takeSidePutPermits ; takeSidePutPermits = 0 ; return putPermits ; }
this function should always be called under a lock on putguard & permitmon obejct < p > author asif
