Uses of Interface
org.apache.openjpa.datacache.CacheDistributionPolicy
-
Packages that use CacheDistributionPolicy Package Description org.apache.openjpa.conf OpenJPA Configurationorg.apache.openjpa.datacache OpenJPA Data Cache -
-
Uses of CacheDistributionPolicy in org.apache.openjpa.conf
Methods in org.apache.openjpa.conf that return CacheDistributionPolicy Modifier and Type Method Description CacheDistributionPolicy
OpenJPAConfiguration. getCacheDistributionPolicyInstance()
Gets the policy object that determines distribution of cached instances across named partitions of L2 data cache.CacheDistributionPolicy
OpenJPAConfigurationImpl. getCacheDistributionPolicyInstance()
Methods in org.apache.openjpa.conf with parameters of type CacheDistributionPolicy Modifier and Type Method Description void
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 CacheDistributionPolicy Modifier and Type Class Description class
DefaultCacheDistributionPolicy
A default implementation that selects the cache by the type of the given managed instance.class
TypeBasedCacheDistributionPolicy
A cache distribution policy based on the type of the managed objects.Methods in org.apache.openjpa.datacache that return CacheDistributionPolicy Modifier and Type Method Description CacheDistributionPolicy
DataCacheManager. getDistributionPolicy()
Return the user-specific policy that suggests the cache where a managed entity state is stored.CacheDistributionPolicy
DataCacheManagerImpl. getDistributionPolicy()
Gets the instance-based cache distribution policy, if configured.
-