| Package | Description | 
|---|---|
| org.apache.openjpa.conf | OpenJPA Configuration
    This package provides base OpenJPA configuration interfaces. | 
| org.apache.openjpa.datacache | OpenJPA Data Cache
    OpenJPA's data and query caching frameworks. | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheDistributionPolicy | OpenJPAConfigurationImpl. getCacheDistributionPolicyInstance() | 
| CacheDistributionPolicy | OpenJPAConfiguration. getCacheDistributionPolicyInstance()Gets the policy object that determines distribution of cached instances
 across named partitions of L2 data cache. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | OpenJPAConfigurationImpl. setCacheDistributionPolicyInstance(CacheDistributionPolicy policy) | 
| void | OpenJPAConfiguration. setCacheDistributionPolicyInstance(CacheDistributionPolicy policy)Sets the policy object that determines distribution of cached instances
 across named partitions of L2 data cache. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultCacheDistributionPolicyA default implementation that selects the cache by the type of the given managed instance. | 
| class  | TypeBasedCacheDistributionPolicyA cache distribution policy based on the type of the managed objects. | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheDistributionPolicy | DataCacheManagerImpl. getDistributionPolicy()Gets the instance-based cache distribution policy, if configured. | 
| CacheDistributionPolicy | DataCacheManager. getDistributionPolicy()Return the user-specific policy that suggests the cache where a managed entity state is stored. | 
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.