Class SharedTimer.TimerCleanup

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Timer timer  
    • Constructor Summary

      Constructors 
      Constructor Description
      TimerCleanup​(java.util.Timer timer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onClean​(boolean leak)  
      • Methods inherited from class java.lang.Object

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

      • timer

        private final java.util.Timer timer
    • Constructor Detail

      • TimerCleanup

        TimerCleanup​(java.util.Timer timer)
    • Method Detail

      • onClean

        public void onClean​(boolean leak)
                     throws java.lang.RuntimeException
        Specified by:
        onClean in interface LazyCleaner.CleaningAction<java.lang.RuntimeException>
        Throws:
        java.lang.RuntimeException