@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 deletedResourceIOException
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.