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
Constructors Constructor Description AbstractBinaryCacheStorage(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 Detail
-
AbstractBinaryCacheStorage
public AbstractBinaryCacheStorage(int maxUpdateRetries, HttpCacheEntrySerializer<byte[]> serializer)
-
AbstractBinaryCacheStorage
public AbstractBinaryCacheStorage(int maxUpdateRetries)
-
-