Class AsynchronousValidationRequest
- java.lang.Object
-
- org.apache.http.impl.client.cache.AsynchronousValidationRequest
-
- All Implemented Interfaces:
java.lang.Runnable
public class AsynchronousValidationRequest extends java.lang.Object implements java.lang.Runnable
Class used to represent an asynchronous revalidation event, such as with "stale-while-revalidate"
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getConsecutiveFailedAttempts()
The number of consecutively failed revalidation attempts.java.lang.String
getIdentifier()
void
run()
-
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
getIdentifier
public java.lang.String getIdentifier()
-
getConsecutiveFailedAttempts
public int getConsecutiveFailedAttempts()
The number of consecutively failed revalidation attempts.- Returns:
- the number of consecutively failed revalidation attempts.
-
-