@Internal public final class InternalCacheStorage extends Object
Constructor and Description |
---|
InternalCacheStorage() |
InternalCacheStorage(int maxEntries) |
InternalCacheStorage(int maxEntries,
Consumer<HttpCacheStorageEntry> evictionCallback) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
HttpCacheEntry |
get(String key) |
void |
put(String key,
HttpCacheEntry entry) |
HttpCacheEntry |
remove(String key) |
public InternalCacheStorage(int maxEntries, Consumer<HttpCacheStorageEntry> evictionCallback)
public InternalCacheStorage(int maxEntries)
public InternalCacheStorage()
public void put(String key, HttpCacheEntry entry)
public HttpCacheEntry get(String key)
public HttpCacheEntry remove(String key)
public void clear()
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.