AsyncConnection
, AsyncConnectionSource
, AsyncReadBinding
, AsyncReadWriteBinding
, AsyncWriteBinding
, Connection
, ConnectionSource
, ReadBinding
, ReadWriteBinding
, WriteBinding
AsyncClusterBinding
, AsyncSingleConnectionReadBinding
, ClusterBinding
, SingleConnectionReadBinding
, SingleServerBinding
public interface ReferenceCounted
Modifier and Type | Method | Description |
---|---|---|
int |
getCountβ() |
Gets the current reference count, which starts at 0.
|
void |
releaseβ() |
Release a reference to this object.
|
ReferenceCounted |
retainβ() |
Retain an additional reference to this object.
|
int getCountβ()
ReferenceCounted retainβ()
void releaseβ()
IllegalStateException
- if the reference count is already 0