org.fusesource.hawtdispatch.util
Class BufferPool

java.lang.Object
  extended by org.fusesource.hawtdispatch.util.ThreadLocalPool<byte[]>
      extended by org.fusesource.hawtdispatch.util.BufferPool

public class BufferPool
extends ThreadLocalPool<byte[]>

Author:
Hiram Chirino

Constructor Summary
BufferPool(int bufferSize)
           
 
Method Summary
protected  byte[] create()
           
 int getBufferSize()
           
 
Methods inherited from class org.fusesource.hawtdispatch.util.ThreadLocalPool
checkin, checkout, maxPoolSizePerThread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferPool

public BufferPool(int bufferSize)
Method Detail

create

protected byte[] create()
Specified by:
create in class ThreadLocalPool<byte[]>

getBufferSize

public int getBufferSize()


Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.