Package | Description |
---|---|
org.apache.cayenne.access |
Contains classes that make up Cayenne ORM stack.
|
org.apache.cayenne.configuration |
Modifier and Type | Field and Description |
---|---|
protected DataRowStore |
ObjectStore.dataRowCache
Stores a reference to the DataRowStore.
|
protected DataRowStore |
DataDomain.sharedSnapshotCache |
Modifier and Type | Method and Description |
---|---|
DataRowStore |
DataRowStoreFactory.createDataRowStore(String name)
Create new
DataRowStore object. |
DataRowStore |
DefaultDataRowStoreFactory.createDataRowStore(String name) |
DataRowStore |
ObjectStore.getDataRowCache()
Returns a DataRowStore associated with this ObjectStore.
|
DataRowStore |
DataDomain.getSharedSnapshotCache()
Returns snapshots cache for this DataDomain, lazily initializing it on
the first call if 'sharedCacheEnabled' flag is true.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectStore.setDataRowCache(DataRowStore dataRowCache)
Sets parent DataRowStore.
|
void |
NoSyncObjectStore.setDataRowCache(DataRowStore dataRowCache) |
void |
DataDomain.setSharedSnapshotCache(DataRowStore snapshotCache)
Shuts down the previous cache instance, sets cache to the new
DataSowStore instance and updates two properties of the new DataSowStore:
name and eventManager.
|
Constructor and Description |
---|
NoSyncObjectStore(DataRowStore dataRowCache,
Map<Object,Persistent> objectMap) |
ObjectStore(DataRowStore dataRowCache,
Map<Object,Persistent> objectMap)
Creates an ObjectStore with
DataRowStore and a map to use for storing
registered objects. |
Modifier and Type | Method and Description |
---|---|
ObjectStore |
ObjectStoreFactory.createObjectStore(DataRowStore dataRowCache)
Creates an
ObjectStore with provided dataRowCache |
ObjectStore |
DefaultObjectStoreFactory.createObjectStore(DataRowStore dataRowCache) |
Copyright © 2001–2018 Apache Cayenne. All rights reserved.