Class JobJanitor

  • All Implemented Interfaces:
    java.lang.Runnable

    public class JobJanitor
    extends java.lang.Object
    implements java.lang.Runnable
    Wake up once a minute and evict old completed jobs.
    Author:
    Alex Kalderimis
    • Constructor Summary

      Constructors 
      Constructor Description
      JobJanitor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      void stop()
      Let others tell us to stop.
      • Methods inherited from class java.lang.Object

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

      • JobJanitor

        public JobJanitor()
    • Method Detail

      • run

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

        public void stop()
        Let others tell us to stop.