|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.catalina.tribes.io.BufferPool
public class BufferPool
Nested Class Summary | |
---|---|
static interface |
BufferPool.BufferPoolAPI
|
Field Summary | |
---|---|
static int |
DEFAULT_POOL_SIZE
|
protected static BufferPool |
instance
|
protected static Log |
log
|
protected BufferPool.BufferPoolAPI |
pool
|
Method Summary | |
---|---|
void |
clear()
|
XByteBuffer |
getBuffer(int minSize,
boolean discard)
|
static BufferPool |
getBufferPool()
|
void |
returnBuffer(XByteBuffer buffer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Log log
public static int DEFAULT_POOL_SIZE
protected static volatile BufferPool instance
protected BufferPool.BufferPoolAPI pool
Method Detail |
---|
public XByteBuffer getBuffer(int minSize, boolean discard)
public void returnBuffer(XByteBuffer buffer)
public void clear()
public static BufferPool getBufferPool()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |