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 |
OpenJPAConfiguration.getCacheDistributionPolicyInstance()
Gets the policy object that determines distribution of cached instances
across named partitions of L2 data cache.
|
CacheDistributionPolicy |
OpenJPAConfigurationImpl.getCacheDistributionPolicyInstance() |
Modifier and Type | Method and 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) |
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 |
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.
|
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.