Deprecated
See ByteBufferPool.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public T |
| close | back to summary |
|---|---|
| public void close() Redeclares java. Delegates to | |
| discard | back to summary |
|---|---|
| public void discard() Discard this resource. Any backing resources corresponding to this pooled resource will be rendered unavailable until the pooled resource has been garbage-collected. | |
| free | back to summary |
|---|---|
| public void free() Free this resource for immediate re-use. The resource must not be accessed again after
calling this method; if it is possible that an instance is still in use, you must call | |
| getResource | back to summary |
|---|---|
| public T getResource() throws IllegalStateException Get the pooled resource.
| |