Class AbstractBinaryCacheStorage<CAS>
java.lang.Object
org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage<byte[],CAS>
org.apache.hc.client5.http.impl.cache.AbstractBinaryCacheStorage<CAS>
- All Implemented Interfaces:
HttpCacheStorage
public abstract class AbstractBinaryCacheStorage<CAS>
extends AbstractSerializingCacheStorage<byte[],CAS>
Abstract cache backend for serialized binary objects capable of CAS (compare-and-swap) updates.
- Since:
- 5.0
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractBinaryCacheStorage
(int maxUpdateRetries) AbstractBinaryCacheStorage
(int maxUpdateRetries, HttpCacheEntrySerializer<byte[]> serializer) -
Method Summary
Methods inherited from class org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage
bulkRestore, delete, digestToStorageKey, getEntries, getEntry, getForUpdateCAS, getStorageObject, putEntry, removeEntry, restore, store, updateCAS, updateEntry
-
Constructor Details
-
AbstractBinaryCacheStorage
public AbstractBinaryCacheStorage(int maxUpdateRetries, HttpCacheEntrySerializer<byte[]> serializer) -
AbstractBinaryCacheStorage
public AbstractBinaryCacheStorage(int maxUpdateRetries)
-