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

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

      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 and 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`

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

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

- - ### Constructor Detail

    - #### AbstractBinaryCacheStorage

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

    - #### AbstractBinaryCacheStorage

          public AbstractBinaryCacheStorage(int maxUpdateRetries)

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