org.apache.http.impl.client.cache
Class FailureCacheValue
java.lang.Object
org.apache.http.impl.client.cache.FailureCacheValue
@Contract(threading=IMMUTABLE)
public class FailureCacheValue
- extends Object
The error count with a creation timestamp and its associated key.
- Since:
- 4.3
FailureCacheValue
public FailureCacheValue(String key,
int errorCount)
getCreationTimeInNanos
public long getCreationTimeInNanos()
getKey
public String getKey()
getErrorCount
public int getErrorCount()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.