T - public static class Pool.Pooled<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
T |
content |
protected LogTarget |
logTarget |
| Constructor and Description |
|---|
Pooled(T t,
Pool<T> pool,
LogTarget logTarget)
Create the Wrapping Object Pooled
|
| Modifier and Type | Method and Description |
|---|---|
void |
done()
This is the key API for the Pool, as calling "done()" offers this
object back to the Pool for reuse.
|
protected void |
finalize()
Just in case someone neglected to offer back object...
|
void |
toss()
The user of the Object may discover that the Object t is no longer in
a valid state.
|
public void done()
public void toss()
Copyright © 2017. All rights reserved.