org.apache.hc.client5.http.impl.cache

## 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
  Direct Known Subclasses:
    MemcachedHttpAsyncCacheStorage

      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

    Constructors
    Constructor and Description
    `AbstractBinaryAsyncCacheStorage(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`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractBinaryAsyncCacheStorage

          public AbstractBinaryAsyncCacheStorage(int maxUpdateRetries,
                                                 HttpCacheEntrySerializer<byte[]> serializer)

    - #### AbstractBinaryAsyncCacheStorage

          public AbstractBinaryAsyncCacheStorage(int maxUpdateRetries)

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.