|
XNIO API 3.0.7.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the pooled resource typepublic interface Pooled<T>
A resource which is pooled.
| Method Summary | |
|---|---|
void |
discard()
Discard this resource. |
void |
free()
Free this resource for immediate re-use. |
T |
getResource()
Get the pooled resource. |
| Method Detail |
|---|
void discard()
void free()
discard() instead.
T getResource()
throws IllegalStateException
IllegalStateException - if the resource has been freed or discarded already
|
XNIO API 3.0.7.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||