Class TimeoutExecutor


  • public final class TimeoutExecutor
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeoutExecutor​(long ms)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean executeNow​(MyRunnable task)  
      • Methods inherited from class java.lang.Object

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

      • TimeoutExecutor

        public TimeoutExecutor​(long ms)
    • Method Detail

      • executeNow

        public boolean executeNow​(MyRunnable task)