List of utility methods to do ArrayBlockingQueue
void | createUniqueHelperParamQueue(String uniqueQueueName, int size) create Unique Helper Param Queue serviceParameterQueueMap.put(uniqueQueueName, new ArrayBlockingQueue(size));
|
BlockingQueue | getArrayBlockingQueue(final Object o, final Class Cast an object into a typed ArrayBlockingQueue . final BlockingQueue<T> queue = new ArrayBlockingQueue<>(capacity); queue(queue, o, clazz, true); return queue; |
int | getParameterQueueSize(String queueName) get Parameter Queue Size int ret = -1; try { ret = ((ArrayBlockingQueue) serviceParameterQueueMap.get(queueName)).size(); } catch (Exception e) { e.printStackTrace(); throw e; return ret; ... |
ArrayBlockingQueue | newArrayBlockingQueue() new Array Blocking Queue return newArrayBlockingQueue(null);
|
ArrayBlockingQueue | newArrayBlockingQueue(final int capacity) new Array Blocking Queue return new ArrayBlockingQueue<E>(capacity); |
ArrayBlockingQueue | newArrayBlockingQueue(int capacity) new Array Blocking Queue return new ArrayBlockingQueue<E>(capacity); |