ReferenceCounted.
| Modifier and Type | Field and Description |
|---|---|
| private static final InternalLogger |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: true if the given object is reference counted.The object to test. obj)Tests whether the given object implements the |
| public static int | |
| public static boolean | release(Object msg)
Try to call |
| public static boolean | release(Object msg, int decrement)
Try to call |
| public static <T> T | retain(T msg)
Try to call |
| public static <T> T | retain(T msg, int increment)
Try to call |
| public static void | safeRelease(Object msg)
Try to call |
| public static void | safeRelease(Object msg, int decrement)
Try to call |
| public static <T> T | touch(T msg)
Tries to call |
| public static <T> T | touch(T msg, Object hint)
Tries to call |
| logger | back to summary |
|---|---|
| private static final InternalLogger logger | |
| ReferenceCountUtil | back to summary |
|---|---|
| private ReferenceCountUtil() | |
| isReferenceCounted | back to summary |
|---|---|
| public static boolean isReferenceCounted(Object obj) Tests whether the given object implements the
| |
| refCnt | back to summary |
|---|---|
| public static int refCnt(Object msg) Returns reference count of a | |
| release | back to summary |
|---|---|
| public static boolean release(Object msg) Try to call | |
| release | back to summary |
|---|---|
| public static boolean release(Object msg, int decrement) Try to call | |
| retain | back to summary |
|---|---|
| public static <T> T retain(T msg) Try to call
| |
| retain | back to summary |
|---|---|
| public static <T> T retain(T msg, int increment) Try to call
| |
| safeRelease | back to summary |
|---|---|
| public static void safeRelease(Object msg) Try to call | |
| safeRelease | back to summary |
|---|---|
| public static void safeRelease(Object msg, int decrement) Try to call | |
| touch | back to summary |
|---|---|
| public static <T> T touch(T msg) Tries to call
| |
| touch | back to summary |
|---|---|
| public static <T> T touch(T msg, Object hint) Tries to call
| |