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