Class BoundedLocalCache.BoundedLocalManualCache<K,​V>

    • Constructor Detail

      • BoundedLocalManualCache

        BoundedLocalManualCache​(Caffeine<K,​V> builder)
      • BoundedLocalManualCache

        BoundedLocalManualCache​(Caffeine<K,​V> builder,
                                CacheLoader<? super K,​V> loader)
    • Method Detail

      • policy

        public Policy<K,​V> policy()
        Description copied from interface: Cache
        Returns access to inspect and perform low-level operations on this cache based on its runtime characteristics. These operations are optional and dependent on how the cache was constructed and what abilities the implementation exposes.
        Specified by:
        policy in interface Cache<K,​V>
        Returns:
        access to inspect and perform advanced operations based on the cache's characteristics
      • readObject

        private void readObject​(java.io.ObjectInputStream stream)
                         throws java.io.InvalidObjectException
        Throws:
        java.io.InvalidObjectException
      • writeReplace

        java.lang.Object writeReplace()