Class Cleanable


  • public final class Cleanable
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clean()  
      static Cleanable register​(java.lang.Object obj, java.lang.Runnable action)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • register

        public static Cleanable register​(java.lang.Object obj,
                                         java.lang.Runnable action)
      • clean

        public void clean()