Uses of Interface
org.apache.openjpa.datacache.CacheDistributionPolicy
Packages that use CacheDistributionPolicy
Package
Description
OpenJPA Configuration
OpenJPA Data Cache
-
Uses of CacheDistributionPolicy in org.apache.openjpa.conf
Methods in org.apache.openjpa.conf that return CacheDistributionPolicyModifier and TypeMethodDescriptionOpenJPAConfiguration.getCacheDistributionPolicyInstance()
Gets the policy object that determines distribution of cached instances across named partitions of L2 data cache.OpenJPAConfigurationImpl.getCacheDistributionPolicyInstance()
Methods in org.apache.openjpa.conf with parameters of type CacheDistributionPolicyModifier and TypeMethodDescriptionvoid
OpenJPAConfiguration.setCacheDistributionPolicyInstance
(CacheDistributionPolicy policy) Sets the policy object that determines distribution of cached instances across named partitions of L2 data cache.void
OpenJPAConfigurationImpl.setCacheDistributionPolicyInstance
(CacheDistributionPolicy policy) -
Uses of CacheDistributionPolicy in org.apache.openjpa.datacache
Classes in org.apache.openjpa.datacache that implement CacheDistributionPolicyModifier and TypeClassDescriptionclass
A default implementation that selects the cache by the type of the given managed instance.class
A cache distribution policy based on the type of the managed objects.Methods in org.apache.openjpa.datacache that return CacheDistributionPolicyModifier and TypeMethodDescriptionDataCacheManager.getDistributionPolicy()
Return the user-specific policy that suggests the cache where a managed entity state is stored.DataCacheManagerImpl.getDistributionPolicy()
Gets the instance-based cache distribution policy, if configured.