Class ReferenceCountUtil.ReleasingTask

java.lang.Object
io.netty.util.ReferenceCountUtil.ReleasingTask
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
ReferenceCountUtil

private static final class ReferenceCountUtil.ReleasingTask extends java.lang.Object implements java.lang.Runnable
Releases the objects when the thread that called ReferenceCountUtil.releaseLater(Object) has been terminated.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
     
    private final ReferenceCounted
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReleasingTask(ReferenceCounted obj, int decrement)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
     
    java.lang.String
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • obj

      private final ReferenceCounted obj
    • decrement

      private final int decrement
  • Constructor Details

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface java.lang.Runnable
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object