Uses of Interface
com.loomcache.server.lease.TtlPolicy
Packages that use TtlPolicy
-
Uses of TtlPolicy in com.loomcache.server.lease
Classes in com.loomcache.server.lease that implement TtlPolicyModifier and TypeClassDescriptionstatic final recordAdaptive TTL policy: TTL based on access frequency.static final recordEternal policy: entries never expire.static final recordFixed TTL policy: entries have a constant TTL regardless of access.static final recordPer-key TTL policy: each key has its own individually set TTL.static final recordSliding TTL policy: TTL resets on each access.Methods in com.loomcache.server.lease with parameters of type TtlPolicyModifier and TypeMethodDescriptionvoidTtlManager.setPolicyForDataStructure(String dsName, TtlPolicy policy) Sets the TTL policy for a data structure.