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 |
DelegatingDataCache.get(Object oid) |
DataCachePCData |
DataCache.get(Object oid)
Return the cached object for the given oid.
|
DataCachePCData |
AbstractDataCache.get(Object key) |
protected DataCachePCData |
ConcurrentDataCache.getInternal(Object key) |
protected abstract DataCachePCData |
AbstractDataCache.getInternal(Object oid)
Return the object for the given oid.
|
DataCachePCData |
DelegatingDataCache.put(DataCachePCData value) |
DataCachePCData |
DataCache.put(DataCachePCData value)
Set the cached value for the given instance.
|
DataCachePCData |
AbstractDataCache.put(DataCachePCData data) |
protected DataCachePCData |
ConcurrentDataCache.putInternal(Object key,
DataCachePCData pc) |
protected abstract DataCachePCData |
AbstractDataCache.putInternal(Object oid,
DataCachePCData pc)
Add the given object to the cache, returning the old object under the
given oid.
|
DataCachePCData |
DelegatingDataCache.remove(Object oid) |
DataCachePCData |
DataCache.remove(Object oid)
Remove the value stored under the given oid.
|
DataCachePCData |
AbstractDataCache.remove(Object key) |
protected DataCachePCData |
ConcurrentDataCache.removeInternal(Object key) |
protected abstract DataCachePCData |
AbstractDataCache.removeInternal(Object oid)
Remove the object under the given oid from the cache.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Map<Object,DataCachePCData> |
AbstractDataCache.getAll(List<Object> keys)
Returns the objects for the given key List.
|
Modifier and Type | Method and Description |
---|---|
DataCachePCData |
DelegatingDataCache.put(DataCachePCData value) |
DataCachePCData |
DataCache.put(DataCachePCData value)
Set the cached value for the given instance.
|
DataCachePCData |
AbstractDataCache.put(DataCachePCData data) |
protected DataCachePCData |
ConcurrentDataCache.putInternal(Object key,
DataCachePCData pc) |
protected abstract DataCachePCData |
AbstractDataCache.putInternal(Object oid,
DataCachePCData pc)
Add the given object to the cache, returning the old object under the
given oid.
|
void |
DelegatingDataCache.update(DataCachePCData value) |
void |
DataCache.update(DataCachePCData value)
Update the cached value for the given instance.
|
void |
AbstractDataCache.update(DataCachePCData data) |
Modifier and Type | Method and Description |
---|---|
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.
|
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) |
protected void |
AbstractDataCache.putAllInternal(Collection<DataCachePCData> pcs)
Add all of the given objects to the cache.
|
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.