Class TimeoutFactory.TimeoutTargetImpl

  • All Implemented Interfaces:
    TimeoutTarget
    Enclosing class:
    TimeoutFactory

    private static class TimeoutFactory.TimeoutTargetImpl
    extends java.lang.Object
    implements TimeoutTarget
    Simple TimeoutTarget implementation that wraps a Runnable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.Runnable runnable  
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeoutTargetImpl​(java.lang.Runnable runnable)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void timedOut​(Timeout ignored)
      The timeout callback function is invoked when the timeout expires.
      • Methods inherited from class java.lang.Object

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

      • runnable

        java.lang.Runnable runnable
    • Constructor Detail

      • TimeoutTargetImpl

        TimeoutTargetImpl​(java.lang.Runnable runnable)
    • Method Detail

      • timedOut

        public void timedOut​(Timeout ignored)
        Description copied from interface: TimeoutTarget
        The timeout callback function is invoked when the timeout expires.
        Specified by:
        timedOut in interface TimeoutTarget