List of utility methods to do BlockingQueue
void | putLongToQueue(BlockingQueue put Long To Queue boolean done = false; while (done == false) { boolean offerResult = false; try { offerResult = queue.offer(valueToPut); while (offerResult == false) { Thread.sleep(Q_OFFER_SLEEP_DURATION_); offerResult = queue.offer(valueToPut); ... |
void | putResponseObject(BlockingQueue put Response Object try { queue.put(object); } catch (InterruptedException e) { |