Class FailOnTimeout.CallableStatement

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.Throwable>
    Enclosing class:
    FailOnTimeout

    private class FailOnTimeout.CallableStatement
    extends java.lang.Object
    implements java.util.concurrent.Callable<java.lang.Throwable>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.CountDownLatch startLatch  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CallableStatement()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void awaitStarted()  
      java.lang.Throwable call()  
      • Methods inherited from class java.lang.Object

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

      • startLatch

        private final java.util.concurrent.CountDownLatch startLatch
    • Constructor Detail

      • CallableStatement

        private CallableStatement()
    • Method Detail

      • call

        public java.lang.Throwable call()
                                 throws java.lang.Exception
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Throwable>
        Throws:
        java.lang.Exception
      • awaitStarted

        public void awaitStarted()
                          throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException