| Modifier and Type | Field and Description |
|---|---|
| public final T | object
The object managed by this pooled instance. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. AutoCloseable as a convenient way to release
claimed objects back to the pool, using the try-with-resources syntax.
|
| public String |
| object | back to summary |
|---|---|
| public final T object The object managed by this pooled instance. | |
| Pooled | back to summary |
|---|---|
| public Pooled(Slot slot, T object) Create a pooled object for the given slot and object to be pooled.
| |
| close | back to summary |
|---|---|
| public void close() Implements java. `Pooled` implements
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |