|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectariba.util.core.SelfCleaningPool<T>
ariba.util.core.BufferPool<T>
public abstract class BufferPool<T extends java.nio.Buffer>
This abstract self cleaning pool of Buffer instances can be extended by subclasses for specific types of Buffers, for example CharBuffer and ByteBuffer. It maintains a buffer length that is set in the constructor and never changed. All the buffers in the pool will be uniformly the same size.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ariba.util.core.SelfCleaningPool |
---|
SelfCleaningPool.PoolFloat<T> |
Constructor Summary | |
---|---|
BufferPool(int bufferLength)
|
Method Summary | |
---|---|
int |
getBufferLength()
Returns newly constructed instance of the resource being managed. |
Methods inherited from class ariba.util.core.SelfCleaningPool |
---|
get, getEventLoop, getIdleTimeoutSeconds, performCommand, registerEventLoop, release, setIdleTimeoutSeconds |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BufferPool(int bufferLength)
Method Detail |
---|
public int getBufferLength()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |