public Worker(int workerPriority,BlockingQueue<Worker> idleWorkers){
		Integer bufferSize = Config.getInt(READ_BUFFER);
		if(bufferSize == null){
			bufferSize = 10;
		}
		
		this.charBuffer = ByteBuffer.allocateDirect(1024 * bufferSize);// 创建读取缓冲区
		this.idleWorkers = idleWorkers;
		handoffBox = new ArrayBlockingQueue<Object>(1);
		
		noStopRequested = true;
		
		Runnable r = new Runnable(){
			public void run(){
				try{
					runWork();
				}catch(Exception e){
					e.printStackTrace();
				}
			}
		};
		
		this.internalThread = new Thread(r);
		this.internalThread.setName("请求参数读取线程" + threadIndex.getAndIncrement());
		this.internalThread.setPriority(workerPriority);
		this.internalThread.start();
	}