Class BufferPool<T extends java.nio.Buffer>
- All Implemented Interfaces:
- Direct Known Subclasses:
- ByteBufferPool, CharBufferPool
public abstract class BufferPool<T extends java.nio.Buffer>
- extends SelfCleaningPool<T>
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.
Returns newly constructed instance of the resource being managed.
|Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public BufferPool(int bufferLength)
public int getBufferLength()
- Returns newly constructed instance of the resource being managed. This factory
method must be implemented by subclasses.
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.