public interface IConcurrentCloseable extends AutoCloseable, AsyncCloseable<Exception>, CloseableListenable
CloseableListenable.Impl| Modifier and Type | Method and Description |
|---|---|
boolean |
lockClose()
Calling this method avoid this resource to be closed.
|
void |
unlockClose()
Allow to close this resource, if this is the last lock on it.
|
closecloseAsyncaddCloseListener, addCloseListener, close, isClosed, removeCloseListener, removeCloseListenerboolean lockClose()
void unlockClose()
Copyright © 2018. All rights reserved.