public interface ReferenceCounted
Modifier and Type | Method and Description |
---|---|
boolean |
release()
Release a reference to this object.
|
ByteBuffer |
retain()
Retain an additional reference to this object.
|
ByteBuffer retain()
boolean release()
IllegalStateException
- if the reference count is already 0