public interface TemporaryCloseable
Modifier and Type | Method and Description |
---|---|
boolean |
closeTemporarilyIfIdle(boolean resetAccessCounter)
Release the resources associated with this instance.
|
boolean closeTemporarilyIfIdle(boolean resetAccessCounter) throws java.io.IOException
resetAccessCounter
- flag whether to reset the access counterjava.io.IOException
- if there was a problem closing the instance resources