References Deprecated
Pooled is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private final T |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public T |
| value | back to summary |
|---|---|
| private final T value | |
| ImmediatePooled | back to summary |
|---|---|
| public ImmediatePooled(T value) | |
| close | back to summary |
|---|---|
| public void close() Implements org. Doc from org. Delegates to
| |
| discard | back to summary |
|---|---|
| public void discard() Implements org. Doc from org. 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() Implements org. Doc from org. 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 Implements org. Doc from org. Get the pooled resource.
| |