Package | Description |
---|---|
org.apache.openjpa.datacache |
OpenJPA Data Cache
OpenJPA's data and query caching frameworks.
|
Modifier and Type | Class and Description |
---|---|
class |
DataCachePCDataImpl
Specialized
PCData implementation for data caching. |
Modifier and Type | Method and Description |
---|---|
DataCachePCData |
AbstractDataCache.get(Object key) |
DataCachePCData |
DelegatingDataCache.get(Object oid) |
DataCachePCData |
DataCache.get(Object oid)
Return the cached object for the given oid.
|
protected abstract DataCachePCData |
AbstractDataCache.getInternal(Object oid)
Return the object for the given oid.
|
protected DataCachePCData |
ConcurrentDataCache.getInternal(Object key) |
DataCachePCData |
AbstractDataCache.put(DataCachePCData data) |
DataCachePCData |
DelegatingDataCache.put(DataCachePCData value) |
DataCachePCData |
DataCache.put(DataCachePCData value)
Set the cached value for the given instance.
|
protected abstract DataCachePCData |
AbstractDataCache.putInternal(Object oid,
DataCachePCData pc)
Add the given object to the cache, returning the old object under the
given oid.
|
protected DataCachePCData |
ConcurrentDataCache.putInternal(Object key,
DataCachePCData pc) |
DataCachePCData |
AbstractDataCache.remove(Object key) |
DataCachePCData |
DelegatingDataCache.remove(Object oid) |
DataCachePCData |
DataCache.remove(Object oid)
Remove the value stored under the given oid.
|
protected abstract DataCachePCData |
AbstractDataCache.removeInternal(Object oid)
Remove the object under the given oid from the cache.
|
protected DataCachePCData |
ConcurrentDataCache.removeInternal(Object key) |
Modifier and Type | Method and Description |
---|---|
Map<Object,DataCachePCData> |
AbstractDataCache.getAll(List<Object> keys)
Returns the objects for the given key List.
|
Map<Object,DataCachePCData> |
DelegatingDataCache.getAll(List<Object> keys) |
Map<Object,DataCachePCData> |
DataCache.getAll(List<Object> keys)
Gets objects from the caches for a given list of keys.
|
Modifier and Type | Method and Description |
---|---|
DataCachePCData |
AbstractDataCache.put(DataCachePCData data) |
DataCachePCData |
DelegatingDataCache.put(DataCachePCData value) |
DataCachePCData |
DataCache.put(DataCachePCData value)
Set the cached value for the given instance.
|
protected abstract DataCachePCData |
AbstractDataCache.putInternal(Object oid,
DataCachePCData pc)
Add the given object to the cache, returning the old object under the
given oid.
|
protected DataCachePCData |
ConcurrentDataCache.putInternal(Object key,
DataCachePCData pc) |
void |
AbstractDataCache.update(DataCachePCData data) |
void |
DelegatingDataCache.update(DataCachePCData value) |
void |
DataCache.update(DataCachePCData value)
Update the cached value for the given instance.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractDataCache.commit(Collection<DataCachePCData> additions,
Collection<DataCachePCData> newUpdates,
Collection<DataCachePCData> existingUpdates,
Collection<Object> deletes) |
void |
AbstractDataCache.commit(Collection<DataCachePCData> additions,
Collection<DataCachePCData> newUpdates,
Collection<DataCachePCData> existingUpdates,
Collection<Object> deletes) |
void |
AbstractDataCache.commit(Collection<DataCachePCData> additions,
Collection<DataCachePCData> newUpdates,
Collection<DataCachePCData> existingUpdates,
Collection<Object> deletes) |
void |
DelegatingDataCache.commit(Collection<DataCachePCData> additions,
Collection<DataCachePCData> newUpdates,
Collection<DataCachePCData> existingUpdates,
Collection<Object> deletes) |
void |
DelegatingDataCache.commit(Collection<DataCachePCData> additions,
Collection<DataCachePCData> newUpdates,
Collection<DataCachePCData> existingUpdates,
Collection<Object> deletes) |
void |
DelegatingDataCache.commit(Collection<DataCachePCData> additions,
Collection<DataCachePCData> newUpdates,
Collection<DataCachePCData> existingUpdates,
Collection<Object> deletes) |
void |
DataCache.commit(Collection<DataCachePCData> additions,
Collection<DataCachePCData> newUpdates,
Collection<DataCachePCData> existingUpdates,
Collection<Object> deletes)
Perform a batch update of the cache.
|
void |
DataCache.commit(Collection<DataCachePCData> additions,
Collection<DataCachePCData> newUpdates,
Collection<DataCachePCData> existingUpdates,
Collection<Object> deletes)
Perform a batch update of the cache.
|
void |
DataCache.commit(Collection<DataCachePCData> additions,
Collection<DataCachePCData> newUpdates,
Collection<DataCachePCData> existingUpdates,
Collection<Object> deletes)
Perform a batch update of the cache.
|
protected void |
AbstractDataCache.putAllInternal(Collection<DataCachePCData> pcs)
Add all of the given objects to the cache.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.