|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface that describes a resource. A resource is an exclusive entity that may be in use by one thread at a time; a thread must reserve a resource from a resource pool, use the resource, and then release the resource so that it may be used by another thread.
ResourcePool
Method Summary | |
void |
release()
Release the resource. |
void |
reserve()
Reserve the resource. |
Method Detail |
public void reserve()
public void release()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |