Class DelayedProxy

java.lang.Object
org.oxerr.webmagic.proxy.DelayedProxy
All Implemented Interfaces:
Externalizable, Serializable, Comparable<Delayed>, Delayed

public class DelayedProxy extends Object implements Delayed, Externalizable
See Also:
  • Field Details

    • proxy

      private transient us.codecraft.webmagic.proxy.Proxy proxy
    • availableTime

      private Instant availableTime
    • successCount

      private AtomicLong successCount
    • failureCount

      private AtomicLong failureCount
  • Constructor Details

    • DelayedProxy

      public DelayedProxy()
    • DelayedProxy

      public DelayedProxy(us.codecraft.webmagic.proxy.Proxy proxy)
    • DelayedProxy

      public DelayedProxy(us.codecraft.webmagic.proxy.Proxy proxy, Duration duration)
  • Method Details