@Internal public class CloseableRegistry extends AbstractCloseableRegistry<Closeable,Object>
Constructor and Description |
---|
CloseableRegistry() |
Modifier and Type | Method and Description |
---|---|
protected void |
doRegister(Closeable closeable,
Map<Closeable,Object> closeableMap)
Does the actual registration of the closeable with the registry map.
|
protected boolean |
doUnRegister(Closeable closeable,
Map<Closeable,Object> closeableMap)
Does the actual un-registration of the closeable from the registry map.
|
addCloseableInternal, close, getNumberOfRegisteredCloseables, getSynchronizationLock, isCloseableRegistered, isClosed, registerCloseable, removeCloseableInternal, unregisterCloseable
protected void doRegister(@Nonnull Closeable closeable, @Nonnull Map<Closeable,Object> closeableMap)
AbstractCloseableRegistry
doRegister
in class AbstractCloseableRegistry<Closeable,Object>
protected boolean doUnRegister(@Nonnull Closeable closeable, @Nonnull Map<Closeable,Object> closeableMap)
AbstractCloseableRegistry
doUnRegister
in class AbstractCloseableRegistry<Closeable,Object>
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.