Class TimedExecutor


  • public class TimedExecutor
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TimedExecutor​(long timeOut)  
      TimedExecutor​(long timeOut, int checkMilliSeconds)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(Executable executable)  
      • Methods inherited from class java.lang.Object

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

      • TimedExecutor

        public TimedExecutor​(long timeOut)
      • TimedExecutor

        public TimedExecutor​(long timeOut,
                             int checkMilliSeconds)
    • Method Detail

      • execute

        public void execute​(Executable executable)
                     throws java.util.concurrent.TimeoutException
        Throws:
        java.util.concurrent.TimeoutException