Package 

Class CancellableSleeper

  • All Implemented Interfaces:
    ai.platon.pulsar.protocol.browser.emulator.Sleeper

    
    public final class CancellableSleeper
     implements Sleeper
                        
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final FetchTask task
    • Constructor Summary

      Constructors 
      Constructor Description
      CancellableSleeper(FetchTask task)
    • Method Summary

      Modifier and Type Method Description
      final FetchTask getTask()
      Unit sleep(Duration duration)
      • Methods inherited from class java.lang.Object

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

      • CancellableSleeper

        CancellableSleeper(FetchTask task)