Class AsynchronousAsyncValidationRequest

java.lang.Object
org.apache.http.impl.client.cache.AsynchronousAsyncValidationRequest
All Implemented Interfaces:
Runnable

class AsynchronousAsyncValidationRequest extends Object implements Runnable
Class used to represent an asynchronous revalidation event, such as with "stale-while-revalidate"
  • Field Details

    • parent

      private final AsynchronousAsyncValidator parent
    • cachingAsyncClient

      private final CachingHttpAsyncClient cachingAsyncClient
    • target

      private final org.apache.http.HttpHost target
    • request

      private final org.apache.http.client.methods.HttpRequestWrapper request
    • clientContext

      private final org.apache.http.client.cache.HttpCacheContext clientContext
    • cacheEntry

      private final org.apache.http.client.cache.HttpCacheEntry cacheEntry
    • identifier

      private final String identifier
    • log

      private final org.apache.commons.logging.Log log
  • Constructor Details

    • AsynchronousAsyncValidationRequest

      AsynchronousAsyncValidationRequest(AsynchronousAsyncValidator parent, CachingHttpAsyncClient cachingClient, org.apache.http.HttpHost target, org.apache.http.client.methods.HttpRequestWrapper request, org.apache.http.client.cache.HttpCacheContext clientContext, org.apache.http.client.cache.HttpCacheEntry cacheEntry, String identifier)
      Used internally by AsynchronousValidator to schedule a revalidation.
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • getIdentifier

      String getIdentifier()