public boolean allItemsAvailable(){
  return readCompleted.isDone();
}

public boolean allItemsAvailable ( ) { return readCompleted . isDone ( ) ; }
determines if all items have been returned to the client .
