@Contract(threading=STATELESS)
public interface HttpCacheCASOperation
| Modifier and Type | Method and Description |
|---|---|
HttpCacheEntry |
execute(HttpCacheEntry existing)
Returns the new cache entry that should replace an existing one.
|
HttpCacheEntry execute(HttpCacheEntry existing) throws ResourceIOException
existing - the cache entry currently in-place in the cache, possibly
null if nonexistentnull if the entry should be deletedResourceIOExceptionCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.