Package org.jivesoftware.util.cache
package org.jivesoftware.util.cache
-
ClassDescriptionGeneral purpose cache.Defines the unit used to calculate the capacity of the cache.Interface that defines the necessary behavior for objects added to a Cache.Creates Cache objects.Implementation of CacheFactory that relies on the specific clustering solution.Utility class for determining the sizes in bytes of commonly used objects.Utility methods for working with caches.Acts as a proxy for a Cache implementation.Wraps an instance of Ben Manes' Caffeine cache in a class that inherits from
Cache
.Flags an exception when we cannot determine size of the object to be cached.ClusterTask<V>An interface to mix inExternalizable
andRunnable
, which are both required for sending invokable tasks across a cluster.This specialized wrapper is used for the Components cache, which should not be purged.This class defines methods that verify that the state of a cache and its various supporting data structures (in which some data duplication is expected) is consistent.Caches, especially clustered caches, have various supporting data structures that allow them to work properly in certain conditions.Default, non-distributed implementation of the Cache interface.Default serialization strategy.CacheFactoryStrategy for use in Openfire.Utility methods to assist in working with theExternalizable
interfaces.Interface that allows to provide different ways for implementing serialization of objects.Cache entry listener implementation that maintains a reverse lookup map for the cache that is being observed, which is used to identify what cluster nodes are the logical owner of a particular cache entry.Cache entry listener implementation that maintains a reverse lookup map for the cache that is being observed, which is used to identify what cluster node is the logical owner of a particular cache entry.A Cache implementation that stores data in serialized form.