Class SerializationProxy<K,V>

java.lang.Object
com.github.benmanes.caffeine.cache.SerializationProxy<K,V>
All Implemented Interfaces:
Serializable

final class SerializationProxy<K,V> extends Object implements Serializable
Serializes the configuration of the cache, reconsitituting it as a Cache, LoadingCache, or AsyncLoadingCache using Caffeine upon deserialization. The data held by the cache is not retained.
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • ticker

      Ticker ticker
    • async

      boolean async
    • weakKeys

      boolean weakKeys
    • weakValues

      boolean weakValues
    • softValues

      boolean softValues
    • weigher

      Weigher<?,?> weigher
    • writer

      CacheWriter<?,?> writer
    • isRecordingStats

      boolean isRecordingStats
    • expiresAfterWriteNanos

      long expiresAfterWriteNanos
    • expiresAfterAccessNanos

      long expiresAfterAccessNanos
    • refreshAfterWriteNanos

      long refreshAfterWriteNanos
    • loader

      AsyncCacheLoader<?,?> loader
    • removalListener

      RemovalListener<?,?> removalListener
    • maximumSize

      long maximumSize
    • maximumWeight

      long maximumWeight
  • Constructor Details

    • SerializationProxy

      SerializationProxy()
  • Method Details