Not Immutable, but should be ThreadSafe
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@941943 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fb47960bfa
commit
6f23db2533
|
@ -32,7 +32,7 @@ import org.apache.http.Header;
|
|||
import org.apache.http.HeaderElement;
|
||||
import org.apache.http.HttpHost;
|
||||
import org.apache.http.HttpRequest;
|
||||
import org.apache.http.annotation.Immutable;
|
||||
import org.apache.http.annotation.ThreadSafe;
|
||||
import org.apache.http.client.cache.HttpCache;
|
||||
import org.apache.http.client.cache.HttpCacheOperationException;
|
||||
|
||||
|
@ -42,7 +42,7 @@ import org.apache.http.client.cache.HttpCacheOperationException;
|
|||
*
|
||||
* @since 4.1
|
||||
*/
|
||||
@Immutable
|
||||
@ThreadSafe // so long as the cache implementation is thread-safe
|
||||
public class CacheInvalidator {
|
||||
|
||||
private final HttpCache<CacheEntry> cache;
|
||||
|
|
Loading…
Reference in New Issue