Class SerializationProxy<K,​V>

  • All Implemented Interfaces:
    java.io.Serializable

    final class SerializationProxy<K,​V>
    extends java.lang.Object
    implements java.io.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 Detail

      • async

        boolean async
      • weakKeys

        boolean weakKeys
      • weakValues

        boolean weakValues
      • softValues

        boolean softValues
      • isRecordingStats

        boolean isRecordingStats
      • expiresAfterWriteNanos

        long expiresAfterWriteNanos
      • expiresAfterAccessNanos

        long expiresAfterAccessNanos
      • refreshAfterWriteNanos

        long refreshAfterWriteNanos
      • maximumSize

        long maximumSize
      • maximumWeight

        long maximumWeight
    • Constructor Detail

      • SerializationProxy

        SerializationProxy()
    • Method Detail

      • recreateCaffeine

        Caffeine<java.lang.Object,​java.lang.Object> recreateCaffeine()
      • readResolve

        java.lang.Object readResolve()