Class HttpRequestTaskCallable<V>

  • All Implemented Interfaces:
    java.util.concurrent.Callable<V>

    class HttpRequestTaskCallable<V>
    extends java.lang.Object
    implements java.util.concurrent.Callable<V>
    • Field Detail

      • cancelled

        private final java.util.concurrent.atomic.AtomicBoolean cancelled
      • scheduled

        private final long scheduled
      • started

        private long started
      • ended

        private long ended
      • context

        private final org.apache.http.protocol.HttpContext context
      • callback

        private final org.apache.http.concurrent.FutureCallback<V> callback
    • Method Detail

      • getScheduled

        public long getScheduled()
      • getStarted

        public long getStarted()
      • getEnded

        public long getEnded()
      • call

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

        public void cancel()