public interface IReferenceCountable
extends java.lang.AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
addRef()
Spawns a new independent ownership of this object.
|
default void |
close()
Alias for
release(). |
void |
release()
Relinquishes an independent ownership of this object.
|
void addRef()
addRef() must ultimately be
followed by exactly one call to release().void release()
close()default void close()
release().close in interface java.lang.AutoCloseableCopyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0