move put permits from take side to put side ; return the number of put side permits that are available . call only under synch on puguard _ and this . concode_field_sep Object takeGuard_ concode_elem_sep LinkedNode last_ concode_elem_sep int putSidePutPermits_ concode_elem_sep Logger logger concode_elem_sep LinkedNode head_ concode_elem_sep int takeSidePutPermits_ concode_elem_sep int capacity_ concode_elem_sep Object putGuard_ concode_field_sep boolean offer concode_elem_sep Object take concode_elem_sep Object extract concode_elem_sep int size concode_elem_sep boolean isEmpty concode_elem_sep void insert concode_elem_sep Object poll concode_elem_sep void setCapacity concode_elem_sep void allowTake concode_elem_sep void put concode_elem_sep int capacity concode_elem_sep Object peek
int function ( ) { logger . debug ( "srini_string" ) ; putSidePutPermits_ += takeSidePutPermits_ ; takeSidePutPermits_ = 0 ; return putSidePutPermits_ ; }