public interface UrlFailureCache
Modifier and Type | Method and Description |
---|---|
void |
cacheFailure(String url)
Store a URL in the cache as failed.
|
boolean |
hasFailedBefore(String url)
Test if a specified URL has failed before.
|
void cacheFailure(String url)
url
- the url to store.boolean hasFailedBefore(String url)
url
- the URL to test.Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.