Class TimeoutWrapper

java.lang.Object
org.serviceconnector.util.TimeoutWrapper
All Implemented Interfaces:
Runnable

public class TimeoutWrapper extends Object implements Runnable
The Class TimeoutWrapper. Wraps various Timeouts. An instance of TimeoutWrapper might be hand over to a Executer which runs the Wrapper at the timeout.
  • Constructor Details

    • TimeoutWrapper

      public TimeoutWrapper(ITimeout target)
      Instantiates a new timeout wrapper.
      Parameters:
      target - the target
  • Method Details

    • run

      public void run()
      Time run out, call target.
      Specified by:
      run in interface Runnable