Package | Description |
---|---|
org.apache.openjpa.conf |
OpenJPA Configuration
|
org.apache.openjpa.datacache |
OpenJPA Data Cache
|
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 |
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.
|
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–2017 Apache Software Foundation. All rights reserved.