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