|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Releasable
Classes that hold heavyweight resources that can't wait for garbage collection should implement this interface. It provides a release method that should be called by all clients when the class is no longer required. This release method is guaranteed not to throw exceptions and should always be called within a finally clause.
Method Summary | |
---|---|
void |
release()
Performs resource cleanup tasks such as closing files, or database connections. |
Method Detail |
---|
void release()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |