Package | Description |
---|---|
org.apache.openjpa.datacache |
OpenJPA Data Cache
OpenJPA's data and query caching frameworks.
|
org.apache.openjpa.instrumentation | |
org.apache.openjpa.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractQueryCache
Abstract
QueryCache implementation that provides various
statistics, logging, and timeout functionality common across cache
implementations. |
class |
ConcurrentQueryCache
A
QueryCache implementation that is optimized for concurrent
access. |
class |
DelegatingQueryCache
Delegating query cache that can also perform exception translation for
use in facades.
|
Modifier and Type | Method and Description |
---|---|
QueryCache |
QueryCacheStoreQuery.getCache()
Return the
QueryCache that this object is associated with. |
QueryCache |
DelegatingQueryCache.getDelegate()
Return the direct delegate.
|
QueryCache |
DelegatingQueryCache.getInnermostDelegate()
Return the native delegate.
|
QueryCache |
DataCacheManager.getSystemQueryCache()
Return the system query cache, or null if not configured.
|
QueryCache |
DataCacheManagerImpl.getSystemQueryCache() |
Constructor and Description |
---|
DelegatingQueryCache(QueryCache cache)
Constructor.
|
DelegatingQueryCache(QueryCache cache,
RuntimeExceptionTranslator trans) |
QueryCacheStoreQuery(StoreQuery query,
QueryCache cache)
Create a new instance that delegates to
query if no
cached results are available. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractQueryCacheInstrument.setPreparedQueryCache(QueryCache qc) |
void |
AbstractQueryCacheInstrument.setQueryCache(QueryCache qc) |
Modifier and Type | Method and Description |
---|---|
QueryCache |
QueryResultCacheImpl.getDelegate()
Delegate.
|
QueryCache |
QueryResultCache.getDelegate()
Deprecated.
cast to
QueryResultCacheImpl instead. This
method pierces the published-API boundary, as does the SPI cast. |
Constructor and Description |
---|
QueryResultCacheImpl(QueryCache cache)
Constructor; supply delegate.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.