Uses of Class
io.netty.util.internal.RefCnt

Packages that use RefCnt
Package
Description
Internal-use-only utilities which is not allowed to be used outside Netty.
  • Uses of RefCnt in io.netty.util.internal

    Methods in io.netty.util.internal with parameters of type RefCnt
    Modifier and Type
    Method
    Description
    static boolean
    Returns true if and only if the given reference counter is alive.
    static int
    RefCnt.refCnt(RefCnt ref)
    Returns the current reference count of the given RefCnt instance with a load acquire semantic.
    static boolean
    RefCnt.release(RefCnt ref)
    Decreases the reference count of the given RefCnt instance by 1.
    static boolean
    RefCnt.release(RefCnt ref, int decrement)
    Decreases the reference count of the given RefCnt instance by the specified decrement.
    static void
    RefCnt.resetRefCnt(RefCnt ref)
    Resets the reference count of the given RefCnt instance to 1.
    static void
    RefCnt.retain(RefCnt ref)
    Increases the reference count of the given RefCnt instance by 1.
    static void
    RefCnt.retain(RefCnt ref, int increment)
    Increases the reference count of the given RefCnt instance by the specified increment.
    static void
    RefCnt.setRefCnt(RefCnt ref, int refCnt)
    WARNING: An unsafe operation that sets the reference count of the given RefCnt instance directly.