Here you can find the source of createUniqueHelperParamQueue(String uniqueQueueName, int size)
public static void createUniqueHelperParamQueue(String uniqueQueueName, int size)
//package com.java2s; /**/* w w w.j a v a 2 s . c om*/ * Helper???????????????????????????.<br> * * @author T.Okuyama * @license GPL(Lv3) */ import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.ConcurrentHashMap; public class Main { private static ConcurrentHashMap serviceParameterQueueMap = new ConcurrentHashMap( 1024, 1000, 512); public static void createUniqueHelperParamQueue(String uniqueQueueName, int size) { serviceParameterQueueMap.put(uniqueQueueName, new ArrayBlockingQueue(size)); } }