Package org.apache.cayenne.access
Class NoSyncObjectStore
- java.lang.Object
-
- org.apache.cayenne.access.ObjectStore
-
- org.apache.cayenne.access.NoSyncObjectStore
-
- All Implemented Interfaces:
Serializable,EventListener,SnapshotEventListener,GraphChangeHandler,GraphManager
public class NoSyncObjectStore extends ObjectStore
AnObjectStorewhich doesn't receive notifications on parent'sDataRowStoreevents.- Since:
- 3.1
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.cayenne.access.ObjectStore
changes, context, dataRowCache, dataRowCacheSet, objectMap, trackedFlattenedPaths
-
-
Constructor Summary
Constructors Constructor Description NoSyncObjectStore(DataRowStore dataRowCache, Map<Object,Persistent> objectMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetDataRowCache(DataRowStore dataRowCache)Sets parent DataRowStore.-
Methods inherited from class org.apache.cayenne.access.ObjectStore
arcCreated, arcDeleted, getCachedSnapshot, getContext, getDataRowCache, getFlattenedId, getFlattenedIds, getFlattenedPathIdMap, getNode, getObjectIterator, getSnapshot, hasChanges, markFlattenedPath, nodeCreated, nodeIdChanged, nodePropertyChanged, nodeRemoved, objectsInState, objectsRolledBack, objectsUnregistered, postprocessAfterCommit, registeredNodes, registeredObjectsCount, registerNode, setContext, snapshotsChanged, unregisterNode
-
-
-
-
Constructor Detail
-
NoSyncObjectStore
public NoSyncObjectStore(DataRowStore dataRowCache, Map<Object,Persistent> objectMap)
-
-
Method Detail
-
setDataRowCache
public void setDataRowCache(DataRowStore dataRowCache)
Description copied from class:ObjectStoreSets parent DataRowStore. Registers to receive SnapshotEvents if the cache is configured to allow ObjectStores to receive such events.- Overrides:
setDataRowCachein classObjectStore
-
-