Package | Description |
---|---|
org.apache.openjpa.datacache |
OpenJPA Data Cache
OpenJPA's data and query caching frameworks.
|
org.apache.openjpa.instrumentation | |
org.apache.openjpa.meta |
OpenJPA Metadata
This package provides an extendable framework for parsing and caching
persistence metadata.
|
org.apache.openjpa.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDataCache
Abstract
DataCache implementation that provides various
statistics, logging, and timeout functionality common across cache
implementations. |
class |
ConcurrentDataCache
A
DataCache implementation that is optimized for concurrent
access. |
class |
DelegatingDataCache
Delegating data cache that can also perform exception translation for
use in facades.
|
class |
PartitionedDataCache
A partitioned data cache maintains a set of partitions that are DataCache themselves.
|
Modifier and Type | Method and Description |
---|---|
DataCache |
DataCacheManager.getDataCache(String name)
Return the named data cache, or null if it does not exist.
|
DataCache |
DataCacheManagerImpl.getDataCache(String name) |
DataCache |
DataCacheManager.getDataCache(String name,
boolean create)
Return the named data cache.
|
DataCache |
DataCacheManagerImpl.getDataCache(String name,
boolean create)
Returns the named cache.
|
DataCache |
DelegatingDataCache.getDelegate()
Return the direct delegate.
|
DataCache |
DelegatingDataCache.getInnermostDelegate()
Return the native delegate.
|
DataCache |
AbstractDataCache.getPartition(String name,
boolean create) |
DataCache |
DelegatingDataCache.getPartition(String name,
boolean create) |
DataCache |
PartitionedDataCache.getPartition(String name,
boolean create) |
DataCache |
DataCache.getPartition(String name,
boolean create)
Gets the named partition.
|
DataCache |
DataCacheManager.getSystemDataCache()
Return the system-wide data cache, or null if caching is not enabled.
|
DataCache |
DataCacheManagerImpl.getSystemDataCache() |
DataCache |
DataCacheManager.selectCache(OpenJPAStateManager sm)
Select the cache where the given managed proxy instance should be cached.
|
DataCache |
AbstractDataCache.selectCache(OpenJPAStateManager sm) |
DataCache |
DataCacheManagerImpl.selectCache(OpenJPAStateManager sm)
Select cache for the given managed instance.
|
Constructor and Description |
---|
DelegatingDataCache(DataCache cache)
Constructor.
|
DelegatingDataCache(DataCache cache,
RuntimeExceptionTranslator trans) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDataCacheInstrument.setDataCache(DataCache dc) |
Modifier and Type | Method and Description |
---|---|
DataCache |
ClassMetaData.getDataCache()
Return the data cache for this class, or null if it is not cachable.
|
Modifier and Type | Method and Description |
---|---|
DataCache |
StoreCache.getDelegate()
Deprecated.
cast to
StoreCacheImpl instead. This
method pierces the published-API boundary, as does the SPI cast. |
DataCache |
StoreCacheImpl.getDelegate()
Delegate.
|
Constructor and Description |
---|
StoreCacheImpl(EntityManagerFactoryImpl emf,
DataCache cache)
Constructor; supply delegate.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.