Package org.glassfish.json.api
Interface BufferPool
-
- All Known Implementing Classes:
BufferPoolImpl
public interface BufferPool
char[] pool that pool instances of char[] which are expensive to create.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
recycle(char[] buf)
Returns an object back to the pool.char[]
take()
Gets a new char[] object from the pool.
-