Uses of Interface
org.datanucleus.state.DNStateManager
Packages that use DNStateManager
Package
Description
This package provides classes that are typically externally called, whether that means by developers
or by other DataNucleus plugins.
This package provides classes implementing L1/L2 persistable object caching within DataNucleus.
This package provides classes managing the flush process when using MANUAL flush.
Provides classes relating to the life cycle state management of a persistable object.
Package handling the storage of classes to the datastore, and the management of the datastore.
Package providing management for federation of datastores.
Package providing managers for fields which give a mechanism for navigating through fields of a class and
performing operations based on the type of the field.
Package providing basic java type handling for DataNucleus.
Package providing backing store definitions for (SCO) types that need a backing store.
Provides implementations of the "simple" wrappers for the mutable Second Class Objects (SCO's) supported by DataNucleus, so
that we can intercept calls that will mutate the object.
Provides implementations of the "backed" wrappers for the mutable Second Class Objects (SCO's) that are
supported.
-
Uses of DNStateManager in org.datanucleus
Fields in org.datanucleus declared as DNStateManagerModifier and TypeFieldDescriptionprivate DNStateManager[]
ExecutionContextImpl.detachAllOnTxnEndSMs
Temporary array of StateManagers to detach at commit (to prevent garbage collection).protected DNStateManager
ExecutionContext.EmbeddedOwnerRelation.embeddedSM
protected DNStateManager
ExecutionContext.EmbeddedOwnerRelation.ownerSM
Fields in org.datanucleus with type parameters of type DNStateManagerModifier and TypeFieldDescription(package private) Map
<Persistable, DNStateManager> ExecutionContextImpl.ThreadContextInfo.attachedOwnerByObject
Map of the owner of an attached object, keyed by the object.private final Collection
<DNStateManager> ExecutionContextImpl.dirtySMs
List of StateManagers for all current dirty objects managed by this context.private final Map
<Object, DNStateManager> ExecutionContextImpl.enlistedSMCache
Cache of StateManagers enlisted in the current transaction, keyed by the object id.private final Collection
<DNStateManager> ExecutionContextImpl.indirectDirtySMs
List of StateManagers for all current dirty objects made dirty by reachability.private Map
<DNStateManager, RelationshipManager> ManagedRelationsHandler.managedRelationDetails
Map of RelationshipManager keyed by StateManager that it is for.private Set
<DNStateManager> ExecutionContextImpl.nontxProcessedSMs
private Map
<DNStateManager, Object> ExecutionContextImpl.smAttachDetachObjectReferenceMap
Lookup map of attached-detached objects when attaching/detaching.ExecutionContextImpl.smEmbeddedInfoByEmbedded
Map of embedded StateManager relations, keyed by embedded StateManager.ExecutionContextImpl.smEmbeddedInfoByOwner
Map of embedded StateManager relations, keyed by owner StateManager.protected Map
<DNStateManager, Map<?, ?>> ExecutionContextImpl.stateManagerAssociatedValuesMap
Map of associated values per StateManager.Methods in org.datanucleus that return DNStateManagerModifier and TypeMethodDescriptionExecutionContext.findStateManager
(Object pc) Method to find StateManager for the passed persistable object when it is managed by this manager.ExecutionContext.findStateManager
(Object pc, boolean persist) Method to find StateManager for the passed persistable object when it is managed by this manager, and if not yet persistent to persist it and return the assigned StateManager.ExecutionContextImpl.findStateManager
(Object pc) Method to return StateManager for an object (if managed).ExecutionContextImpl.findStateManager
(Object pc, boolean persist) Find StateManager for the specified object, persisting it if required and assigning a StateManager if doing soExecutionContextThreadedImpl.findStateManager
(Object pc) ExecutionContext.findStateManagerForEmbedded
(Object value, DNStateManager owner, AbstractMemberMetaData mmd, PersistableObjectType objectType) Method to find StateManager for the passed embedded persistable object.ExecutionContextImpl.findStateManagerForEmbedded
(Object value, DNStateManager ownerSM, AbstractMemberMetaData mmd, PersistableObjectType objectType) ExecutionContext.findStateManagerOfOwnerForAttachingObject
(Object pc) ExecutionContextImpl.findStateManagerOfOwnerForAttachingObject
(Object pc) ExecutionContext.EmbeddedOwnerRelation.getEmbeddedSM()
ExecutionContext.getOwnerForEmbeddedStateManager
(DNStateManager embSM) Accessor for the owner StateManager for the provided embedded StateManager.ExecutionContextImpl.getOwnerForEmbeddedStateManager
(DNStateManager embSM) ExecutionContext.EmbeddedOwnerRelation.getOwnerSM()
Methods in org.datanucleus that return types with arguments of type DNStateManagerModifier and TypeMethodDescriptionExecutionContext.getObjectsToBeFlushed()
Convenience method to inspect the list of objects with outstanding changes to flush.ExecutionContextImpl.getObjectsToBeFlushed()
Convenience method to inspect the list of objects with outstanding changes to flush.ExecutionContextThreadedImpl.getObjectsToBeFlushed()
Methods in org.datanucleus with parameters of type DNStateManagerModifier and TypeMethodDescriptionvoid
ManagedRelationsHandler.addRelationshipManagerForStateManager
(DNStateManager sm, RelationshipManager relMgr) void
ExecutionContext.addStateManagerToCache
(DNStateManager sm) Method to add the object managed by the specified StateManager to the cache.void
ExecutionContextImpl.addStateManagerToCache
(DNStateManager sm) Method to add the object managed by the specified StateManager to the (L1) cache.void
ExecutionContextThreadedImpl.addStateManagerToCache
(DNStateManager sm) <T> void
ExecutionContext.attachObject
(DNStateManager ownerSM, T pc, boolean sco) Method to attach a persistent detached object.<T> void
ExecutionContextImpl.attachObject
(DNStateManager ownerSM, T pc, boolean sco) void
ExecutionContextThreadedImpl.attachObject
(DNStateManager ownerSM, Object pc, boolean sco) <T> T
ExecutionContext.attachObjectCopy
(DNStateManager ownerSM, T pc, boolean sco) Method to attach a persistent detached object returning an attached copy of the object.<T> T
ExecutionContextImpl.attachObjectCopy
(DNStateManager ownerSM, T pc, boolean sco) ExecutionContextThreadedImpl.attachObjectCopy
(DNStateManager ownerSM, Object pc, boolean sco) void
ExecutionContext.clearDirty
(DNStateManager sm) Mark the specified StateManager as clean.void
ExecutionContextImpl.clearDirty
(DNStateManager sm) Method to clear an object from the list of dirty objects.void
ExecutionContextThreadedImpl.clearDirty
(DNStateManager sm) boolean
ExecutionContext.containsStateManagerAssociatedValue
(DNStateManager sm, Object key) boolean
ExecutionContextImpl.containsStateManagerAssociatedValue
(DNStateManager sm, Object key) void
ExecutionContext.enlistInTransaction
(DNStateManager sm) Method to enlist the specified StateManager in the current transaction.void
ExecutionContextImpl.enlistInTransaction
(DNStateManager sm) void
ExecutionContextThreadedImpl.enlistInTransaction
(DNStateManager sm) void
ExecutionContext.evictFromTransaction
(DNStateManager sm) Method to evict the specified StateManager from the current transaction.void
ExecutionContextImpl.evictFromTransaction
(DNStateManager sm) void
ExecutionContextThreadedImpl.evictFromTransaction
(DNStateManager sm) ExecutionContext.findStateManagerForEmbedded
(Object value, DNStateManager owner, AbstractMemberMetaData mmd, PersistableObjectType objectType) Method to find StateManager for the passed embedded persistable object.ExecutionContextImpl.findStateManagerForEmbedded
(Object value, DNStateManager ownerSM, AbstractMemberMetaData mmd, PersistableObjectType objectType) void
ExecutionContext.flushOperationsForBackingStore
(Store backingStore, DNStateManager sm) Method to flush all queued operations for the specified backing store (if any).void
ExecutionContextImpl.flushOperationsForBackingStore
(Store backingStore, DNStateManager sm) ExecutionContext.getAttachDetachReferencedObject
(DNStateManager sm) Access a referenced object for this StateManager during the attach/detach process.ExecutionContextImpl.getAttachDetachReferencedObject
(DNStateManager sm) private CacheUniqueKey
ExecutionContextImpl.getCacheUniqueKeyForStateManager
(DNStateManager sm, UniqueMetaData unimd) Method to return a CacheUniqueKey to use when caching the object managed by the supplied StateManager for the specified unique key.ExecutionContext.getEmbeddedInformationForOwner
(DNStateManager ownerSM) Accessor for the relations for the specified embedded StateManager where it is embedded.ExecutionContextImpl.getEmbeddedInformationForOwner
(DNStateManager ownerSM) protected CachedPC
ExecutionContextImpl.getL2CacheableObject
(DNStateManager sm, CachedPC currentCachedPC) Convenience method to convert the object managed by StateManager into a form suitable for caching in an L2 cache.ExecutionContext.getOwnerForEmbeddedStateManager
(DNStateManager embSM) Accessor for the owner StateManager for the provided embedded StateManager.ExecutionContextImpl.getOwnerForEmbeddedStateManager
(DNStateManager embSM) ExecutionContext.getOwnerInformationForEmbedded
(DNStateManager embSM) Accessor for the owner relation for the specified embedded StateManager where it is embedded.ExecutionContextImpl.getOwnerInformationForEmbedded
(DNStateManager embSM) ExecutionContext.getRelationshipManager
(DNStateManager sm) Accessor for the RelationshipManager for the provided StateManager.ExecutionContextImpl.getRelationshipManager
(DNStateManager sm) Method to return the RelationshipManager for StateManager.ManagedRelationsHandler.getRelationshipManagerForStateManager
(DNStateManager sm) Method to return the RelationshipManager for the specified StateManager.ExecutionContext.getStateManagerAssociatedValue
(DNStateManager sm, Object key) ExecutionContextImpl.getStateManagerAssociatedValue
(DNStateManager sm, Object key) void
ExecutionContext.markDirty
(DNStateManager sm, boolean directUpdate) Mark the specified StateManager as dirtyvoid
ExecutionContextImpl.markDirty
(DNStateManager sm, boolean directUpdate) Method to mark an object (StateManager) as dirty.void
ExecutionContextThreadedImpl.markDirty
(DNStateManager sm, boolean directUpdate) <T> T
ExecutionContext.persistObjectInternal
(T pc, FieldValues preInsertChanges, PersistableObjectType objectType, DNStateManager ownerSM, int ownerFieldNum) Method to make an object persistent which should be called from INTERNAL (DataNucleus) calls only.<T> T
ExecutionContextImpl.persistObjectInternal
(T obj, FieldValues preInsertChanges, PersistableObjectType objectType, DNStateManager ownerSM, int ownerFieldNum) void
ExecutionContext.putObjectIntoLevel1Cache
(DNStateManager sm) Method to put a Persistable object associated to StateManager into the L1 cache.void
ExecutionContextImpl.putObjectIntoLevel1Cache
(DNStateManager sm) Convenience method to add an object to the L1 cache.void
ExecutionContext.putObjectIntoLevel2Cache
(DNStateManager sm, boolean updateIfPresent) Method to add/update the managed object into the L2 cache as long as it isn't modified in the current transaction.void
ExecutionContextImpl.putObjectIntoLevel2Cache
(DNStateManager sm, boolean updateIfPresent) protected void
ExecutionContextImpl.putObjectIntoLevel2CacheInternal
(DNStateManager sm, boolean updateIfPresent) Convenience method to add/update an object in the L2 cache.ExecutionContext.registerEmbeddedRelation
(DNStateManager ownerSM, int ownerMemberNum, PersistableObjectType objectType, DNStateManager embSM) Method to register an embedded relation for the specified member of the owner StateManager where the embedded StateManager is stored.ExecutionContextImpl.registerEmbeddedRelation
(DNStateManager ownerSM, int ownerMemberNum, PersistableObjectType objectType, DNStateManager embSM) void
ExecutionContext.removeEmbeddedOwnerRelation
(DNStateManager ownerSM, int ownerFieldNum, DNStateManager embSM) Convenience method to remove the EmbeddedOwnerRelation between the specified StateManagers.void
ExecutionContextImpl.removeEmbeddedOwnerRelation
(DNStateManager ownerSM, int ownerFieldNum, DNStateManager embSM) void
ExecutionContext.removeStateManagerAssociatedValue
(DNStateManager sm, Object key) void
ExecutionContextImpl.removeStateManagerAssociatedValue
(DNStateManager sm, Object key) void
ExecutionContext.removeStateManagerFromCache
(DNStateManager sm) Method to remove the object managed by the specified StateManager from the cache.void
ExecutionContextImpl.removeStateManagerFromCache
(DNStateManager sm) Method to remove the object managed by the specified StateManager from the cache.void
ExecutionContextThreadedImpl.removeStateManagerFromCache
(DNStateManager sm) void
ExecutionContext.setAttachDetachReferencedObject
(DNStateManager sm, Object obj) Register a referenced object against this StateManager for the attach/detach process.void
ExecutionContextImpl.setAttachDetachReferencedObject
(DNStateManager sm, Object obj) void
ExecutionContext.setStateManagerAssociatedValue
(DNStateManager sm, Object key, Object value) void
ExecutionContextImpl.setStateManagerAssociatedValue
(DNStateManager sm, Object key, Object value) Method parameters in org.datanucleus with type arguments of type DNStateManagerModifier and TypeMethodDescriptionprotected void
ExecutionContextImpl.putObjectsIntoLevel2Cache
(Set<DNStateManager> sms) Method to put the passed objects into the L2 cache.Constructors in org.datanucleus with parameters of type DNStateManagerModifierConstructorDescriptionEmbeddedOwnerRelation
(DNStateManager sm, int memberNum, PersistableObjectType objectType, DNStateManager embSM) -
Uses of DNStateManager in org.datanucleus.cache
Fields in org.datanucleus.cache declared as DNStateManagerModifier and TypeFieldDescription(package private) DNStateManager
L2CachePopulateFieldManager.sm
StateManager of the object we are copying values from.(package private) DNStateManager
L2CacheRetrieveFieldManager.sm
StateManager of the object we are copying values into.Fields in org.datanucleus.cache with type parameters of type DNStateManagerModifier and TypeFieldDescriptionprivate Map
<Object, DNStateManager> StrongRefCache.cache
private Map
<CacheUniqueKey, DNStateManager> StrongRefCache.cacheUnique
private Map
<Object, DNStateManager> SoftRefCache.softCache
private Map
<CacheUniqueKey, DNStateManager> SoftRefCache.softCacheUnique
private Map
<Object, DNStateManager> WeakRefCache.weakCache
private Map
<CacheUniqueKey, DNStateManager> WeakRefCache.weakCacheUnique
Methods in org.datanucleus.cache that return DNStateManagerModifier and TypeMethodDescriptionLevel1Cache.getUnique
(CacheUniqueKey key) Method to retrieve StateManager for the specified unique key.SoftRefCache.getUnique
(CacheUniqueKey key) StrongRefCache.getUnique
(CacheUniqueKey key) WeakRefCache.getUnique
(CacheUniqueKey key) SoftRefCache.put
(Object id, DNStateManager sm) StrongRefCache.put
(Object id, DNStateManager sm) WeakRefCache.put
(Object id, DNStateManager sm) Methods in org.datanucleus.cache with parameters of type DNStateManagerModifier and TypeMethodDescriptionSoftRefCache.put
(Object id, DNStateManager sm) StrongRefCache.put
(Object id, DNStateManager sm) WeakRefCache.put
(Object id, DNStateManager sm) Level1Cache.putUnique
(CacheUniqueKey key, DNStateManager sm) Method to store a StateManager for this unique key.SoftRefCache.putUnique
(CacheUniqueKey key, DNStateManager sm) StrongRefCache.putUnique
(CacheUniqueKey key, DNStateManager sm) WeakRefCache.putUnique
(CacheUniqueKey key, DNStateManager sm) Constructors in org.datanucleus.cache with parameters of type DNStateManagerModifierConstructorDescriptionL2CachePopulateFieldManager
(DNStateManager sm, CachedPC cachedpc) L2CacheRetrieveFieldManager
(DNStateManager sm, CachedPC cachedpc) -
Uses of DNStateManager in org.datanucleus.flush
Fields in org.datanucleus.flush declared as DNStateManagerModifier and TypeFieldDescription(package private) final DNStateManager
CollectionAddOperation.sm
(package private) final DNStateManager
CollectionClearOperation.sm
(package private) final DNStateManager
CollectionRemoveOperation.sm
(package private) DNStateManager
DeleteOperation.sm
(package private) final DNStateManager
ListSetOperation.sm
(package private) final DNStateManager
MapClearOperation.sm
(package private) final DNStateManager
MapPutOperation.sm
(package private) final DNStateManager
MapRemoveOperation.sm
(package private) DNStateManager
PersistOperation.sm
(package private) final DNStateManager
UpdateMemberOperation.sm
Methods in org.datanucleus.flush that return DNStateManagerModifier and TypeMethodDescriptionCollectionAddOperation.getStateManager()
CollectionClearOperation.getStateManager()
CollectionRemoveOperation.getStateManager()
DeleteOperation.getStateManager()
ListRemoveAtOperation.getStateManager()
ListSetOperation.getStateManager()
MapClearOperation.getStateManager()
MapPutOperation.getStateManager()
MapRemoveOperation.getStateManager()
Operation.getStateManager()
Accessor for StateManager of the object that this operation is performed on.PersistOperation.getStateManager()
UpdateMemberOperation.getStateManager()
Methods in org.datanucleus.flush with parameters of type DNStateManagerModifier and TypeMethodDescriptionprotected static boolean
OperationQueue.isAddFollowedByRemoveOnSameSCO
(Store store, DNStateManager sm, Operation currentOper, ListIterator<Operation> listIter) Convenience optimisation checker to return if the current operation is ADD of an element that is immediately REMOVED.protected static boolean
OperationQueue.isPutFollowedByRemoveOnSameSCO
(Store store, DNStateManager sm, Operation currentOper, ListIterator<Operation> listIter) Convenience optimisation checker to return if the current operation is PUT of a key that is immediately REMOVED.protected static boolean
OperationQueue.isRemoveFollowedByAddOnSameSCO
(Store store, DNStateManager sm, Operation currentOper, ListIterator<Operation> listIter) Convenience optimisation checker to return if the current operation is REMOVE of an element that is immediately ADDed.void
OperationQueue.performAll
(Store store, DNStateManager sm) Method to perform all operations queued for the specified StateManager and backing store.Method parameters in org.datanucleus.flush with type arguments of type DNStateManagerModifier and TypeMethodDescriptionFlushNonReferential.execute
(ExecutionContext ec, Collection<DNStateManager> primarySMs, Collection<DNStateManager> secondarySMs, OperationQueue opQueue) FlushOrdered.execute
(ExecutionContext ec, Collection<DNStateManager> primaryDNs, Collection<DNStateManager> secondaryDNs, OperationQueue opQueue) FlushProcess.execute
(ExecutionContext ec, Collection<DNStateManager> primarySMs, Collection<DNStateManager> secondarySMs, OperationQueue opQueue) Execute the flush.FlushNonReferential.flushDeleteInsertUpdateGrouped
(Set<DNStateManager> smsToFlush, ExecutionContext ec) Method that does the flushing of the passed StateManagers, grouping them into all DELETEs, then all INSERTs, finally all UPDATEs.Constructors in org.datanucleus.flush with parameters of type DNStateManagerModifierConstructorDescriptionCollectionAddOperation
(DNStateManager sm, int fieldNum, E value) CollectionAddOperation
(DNStateManager sm, CollectionStore<E> store, E value) CollectionClearOperation
(DNStateManager sm, int fieldNum) CollectionRemoveOperation
(DNStateManager sm, int fieldNum, E value, boolean allowCascadeDelete) CollectionRemoveOperation
(DNStateManager sm, CollectionStore<E> store, E value, boolean allowCascadeDelete) ListAddAtOperation
(DNStateManager sm, int fieldNum, int index, E value) ListAddAtOperation
(DNStateManager sm, ListStore<E> store, int index, E value) ListRemoveAtOperation
(DNStateManager sm, int fieldNum, int index, E value) ListRemoveAtOperation
(DNStateManager sm, ListStore<E> store, int index) ListSetOperation
(DNStateManager sm, int fieldNum, int index, E value, boolean allowCascadeDelete) ListSetOperation
(DNStateManager sm, ListStore<E> store, int index, E value, boolean allowCascadeDelete) MapClearOperation
(DNStateManager sm, int fieldNum) MapClearOperation
(DNStateManager sm, MapStore store) MapPutOperation
(DNStateManager sm, int fieldNum, K key, V value) MapPutOperation
(DNStateManager sm, MapStore store, K key, V value) MapRemoveOperation
(DNStateManager sm, int fieldNum, K key, V val) MapRemoveOperation
(DNStateManager sm, MapStore store, K key, V val) UpdateMemberOperation
(DNStateManager sm, int fieldNum, Object newVal, Object oldVal) -
Uses of DNStateManager in org.datanucleus.state
Classes in org.datanucleus.state that implement DNStateManagerModifier and TypeClassDescriptionclass
Implementation of a StateManager for use where insertion ordering is important (such as RDBMS).class
Implementation of a StateManager, supporting the bytecode enhancement contract of DataNucleus.Fields in org.datanucleus.state declared as DNStateManagerModifier and TypeFieldDescription(package private) final DNStateManager
RelationshipManagerImpl.ownerSM
StateManager for the object we are managing the relationships for.Fields in org.datanucleus.state with type parameters of type DNStateManagerModifier and TypeFieldDescription(package private) Map
<DNStateManager, LockMode> LockManagerImpl.lockModeBySM
Map of lock mode, keyed by StateManager.private Map
<DNStateManager, Long> StateManagerPool.recyclableSMs
(package private) Class
<? extends DNStateManager> StateManagerFactoryImpl.smClass
Class for the default StateManager type.private Class
<? extends DNStateManager> StateManagerPool.smClass
Methods in org.datanucleus.state that return DNStateManagerModifier and TypeMethodDescriptionStateManagerPool.checkOut
(ExecutionContext ec, AbstractClassMetaData cmd) protected DNStateManager
StateManagerPool.create
(ExecutionContext ec, AbstractClassMetaData cmd) protected DNStateManager
StateManagerFactoryImpl.getStateManager
(ExecutionContext ec, AbstractClassMetaData cmd) <T> DNStateManager
<T> StateManagerFactory.newForCachedPC
(ExecutionContext ec, Object id, CachedPC cachedPC) Constructor to create a StateManager for an object taken from the L2 cache with the specified id.<T> DNStateManager
<T> StateManagerFactoryImpl.newForCachedPC
(ExecutionContext ec, Object id, CachedPC cachedPC) <T> DNStateManager
<T> StateManagerFactory.newForDetached
(ExecutionContext ec, T pc, Object id, Object version) Constructor for creating StateManager instances to manage persistable objects in detached state.<T> DNStateManager
<T> StateManagerFactoryImpl.newForDetached
(ExecutionContext ec, T pc, Object id, Object version) StateManagerFactory.newForEmbedded
(ExecutionContext ec, AbstractClassMetaData cmd, DNStateManager ownerSM, int ownerMemberNumber, PersistableObjectType ownerMemberCmpt) Constructs a StateManager for an object of the specified type, creating the PC object to hold the values where this object will be EMBEDDED/SERIALISED into another persistable object.<T> DNStateManager
<T> StateManagerFactory.newForEmbedded
(ExecutionContext ec, T pc, boolean copyPc, DNStateManager ownerSM, int ownerMemberNumber, PersistableObjectType ownerMemberCmpt) Constructs a StateManager to manage a persistable instance that will be EMBEDDED/SERIALISED into another persistable object.StateManagerFactoryImpl.newForEmbedded
(ExecutionContext ec, AbstractClassMetaData cmd, DNStateManager ownerSM, int ownerMemberNumber, PersistableObjectType objectType) <T> DNStateManager
<T> StateManagerFactoryImpl.newForEmbedded
(ExecutionContext ec, T pc, boolean copyPc, DNStateManager ownerSM, int ownerMemberNumber, PersistableObjectType objectType) <T> DNStateManager
<T> StateManagerFactory.newForHollow
(ExecutionContext ec, Class<T> pcClass, Object id) Constructs a StateManager to manage a hollow instance having the given object ID.<T> DNStateManager
<T> StateManagerFactory.newForHollow
(ExecutionContext ec, Class<T> pcClass, Object id, FieldValues fv) Constructs a StateManager to manage a recently populated hollow instance having the given object ID and the given field values.<T> DNStateManager
<T> StateManagerFactoryImpl.newForHollow
(ExecutionContext ec, Class<T> pcClass, Object id) <T> DNStateManager
<T> StateManagerFactoryImpl.newForHollow
(ExecutionContext ec, Class<T> pcClass, Object id, FieldValues fv) <T> DNStateManager
<T> StateManagerFactory.newForHollowPopulatedAppId
(ExecutionContext ec, Class<T> pcClass, FieldValues fv) Deprecated.Use newForHollowPopulated instead<T> DNStateManager
<T> StateManagerFactoryImpl.newForHollowPopulatedAppId
(ExecutionContext ec, Class<T> pcClass, FieldValues fv) Deprecated.<T> DNStateManager
<T> StateManagerFactory.newForHollowPreConstructed
(ExecutionContext ec, Object id, T pc) Constructs a StateManager to manage a hollow instance having the given object ID.<T> DNStateManager
<T> StateManagerFactoryImpl.newForHollowPreConstructed
(ExecutionContext ec, Object id, T pc) <T> DNStateManager
<T> StateManagerFactory.newForPersistentClean
(ExecutionContext ec, Object id, T pc) Constructs a StateManager to manage the specified persistent instance having the given object ID.<T> DNStateManager
<T> StateManagerFactoryImpl.newForPersistentClean
(ExecutionContext ec, Object id, T pc) <T> DNStateManager
<T> StateManagerFactory.newForPersistentNew
(ExecutionContext ec, T pc, FieldValues fv) Constructs a StateManager to manage a transient instance that is becoming newly persistent.<T> DNStateManager
<T> StateManagerFactoryImpl.newForPersistentNew
(ExecutionContext ec, T pc, FieldValues preInsertChanges) <T> DNStateManager
<T> StateManagerFactory.newForPNewToBeDeleted
(ExecutionContext ec, T pc) Constructor for creating StateManager instances to manage persistable objects that are not persistent yet are about to be deleted.<T> DNStateManager
<T> StateManagerFactoryImpl.newForPNewToBeDeleted
(ExecutionContext ec, T pc) <T> DNStateManager
<T> StateManagerFactory.newForTransactionalTransient
(ExecutionContext ec, T pc) Constructs a StateManager to manage a transactional-transient instance.<T> DNStateManager
<T> StateManagerFactoryImpl.newForTransactionalTransient
(ExecutionContext ec, T pc) Methods in org.datanucleus.state with parameters of type DNStateManagerModifier and TypeMethodDescriptionprotected final LifeCycleState
LifeCycleState.changeState
(DNStateManager sm, int newStateType) Utility to change state to a new state.protected final LifeCycleState
LifeCycleState.changeTransientState
(DNStateManager sm, int newStateType) Utility to change state to a new state.void
StateManagerPool.checkIn
(DNStateManager sm) void
StateManagerFactory.disconnectStateManager
(DNStateManager sm) Method to be called when an StateManager is disconnected (finished with).void
StateManagerFactoryImpl.disconnectStateManager
(DNStateManager sm) void
StateManagerPool.expire
(DNStateManager sm) LockManager.getLockMode
(DNStateManager sm) Accessor for the current lock mode for the object managed by the passed StateManager (mode 1).LockManagerImpl.getLockMode
(DNStateManager sm) private void
StateManagerImpl.internalAttachCopy
(DNStateManager detachedSM, boolean[] loadedFields, boolean[] dirtyFields, boolean persistent, Object version, boolean cascade) Attach the fields for this object using the provided detached object.void
LockManager.lock
(DNStateManager sm, LockMode lockMode) Method to lock the object managed by the passed StateManager (mode 1).void
LockManagerImpl.lock
(DNStateManager sm, LockMode lockMode) StateManagerFactory.newForEmbedded
(ExecutionContext ec, AbstractClassMetaData cmd, DNStateManager ownerSM, int ownerMemberNumber, PersistableObjectType ownerMemberCmpt) Constructs a StateManager for an object of the specified type, creating the PC object to hold the values where this object will be EMBEDDED/SERIALISED into another persistable object.<T> DNStateManager
<T> StateManagerFactory.newForEmbedded
(ExecutionContext ec, T pc, boolean copyPc, DNStateManager ownerSM, int ownerMemberNumber, PersistableObjectType ownerMemberCmpt) Constructs a StateManager to manage a persistable instance that will be EMBEDDED/SERIALISED into another persistable object.StateManagerFactoryImpl.newForEmbedded
(ExecutionContext ec, AbstractClassMetaData cmd, DNStateManager ownerSM, int ownerMemberNumber, PersistableObjectType objectType) <T> DNStateManager
<T> StateManagerFactoryImpl.newForEmbedded
(ExecutionContext ec, T pc, boolean copyPc, DNStateManager ownerSM, int ownerMemberNumber, PersistableObjectType objectType) void
LockManager.performOptimisticVersionCheck
(DNStateManager sm, VersionStrategy versionStrategy, Object versionDatastore) Method to perform an optimistic version check on the specified StateManager.void
LockManagerImpl.performOptimisticVersionCheck
(DNStateManager sm, VersionStrategy versionStrategy, Object versionDatastore) Perform an optimistic version check on the passed object, against the passed version in the datastore.void
DNStateManager.retrieveDetachState
(DNStateManager sm) Convenience method to retrieve the detach state from the passed StateManager's managed objectvoid
StateManagerImpl.retrieveDetachState
(DNStateManager sm) Convenience method to retrieve the detach state from the passed StateManager's object.LifeCycleState.transitionAttach
(DNStateManager sm) Method to transition to persistent-clean.LifeCycleState.transitionBegin
(DNStateManager sm, Transaction tx) Method to transition to transaction begin state.LifeCycleState.transitionCommit
(DNStateManager sm, Transaction tx) Method to transition to commit state.LifeCycleState.transitionDeletePersistent
(DNStateManager sm) Method to transition to delete persistent state.LifeCycleState.transitionDetach
(DNStateManager sm) Method to transition to detached-clean.LifeCycleState.transitionEvict
(DNStateManager sm) Method to transition to evict state.LifeCycleState.transitionMakeNontransactional
(DNStateManager sm) Method to transition to nontransactional state.LifeCycleState.transitionMakePersistent
(DNStateManager sm) Method to transition to persistent state.LifeCycleState.transitionMakeTransactional
(DNStateManager sm, boolean refreshFields) Method to transition to transactional state.LifeCycleState.transitionMakeTransient
(DNStateManager sm, boolean useFetchPlan, boolean detachAllOnCommit) Method to transition to transient state.LifeCycleState.transitionReadField
(DNStateManager sm, boolean isLoaded) Method to transition to read-field state.LifeCycleState.transitionRefresh
(DNStateManager sm) Method to transition to refresh state.LifeCycleState.transitionRetrieve
(DNStateManager sm, boolean fgOnly) Method to transition to retrieve state.LifeCycleState.transitionRetrieve
(DNStateManager sm, FetchPlan fetchPlan) Method to transition to retrieve state.LifeCycleState.transitionRollback
(DNStateManager sm, Transaction tx) Method to transition to rollback state.LifeCycleState.transitionSerialize
(DNStateManager sm) Method to transition when serialised.LifeCycleState.transitionWriteField
(DNStateManager sm) Method to transition to write-field state.void
LockManager.unlock
(DNStateManager sm) Method to unlock the object managed by the passed StateManager (mode 1).void
LockManagerImpl.unlock
(DNStateManager sm) boolean
StateManagerPool.validate
(DNStateManager sm) Constructors in org.datanucleus.state with parameters of type DNStateManagerModifierConstructorDescriptionIllegalStateTransitionException
(LifeCycleState state, String transition, DNStateManager sm) Constructs an illegal state transition exception.Constructor.Constructor parameters in org.datanucleus.state with type arguments of type DNStateManagerModifierConstructorDescriptionStateManagerPool
(int maxIdle, boolean reaperThread, Class<? extends DNStateManager> smClass) -
Uses of DNStateManager in org.datanucleus.store
Methods in org.datanucleus.store with parameters of type DNStateManagerModifier and TypeMethodDescriptionvoid
AbstractPersistenceHandler.assertReadOnlyForUpdateOfObject
(DNStateManager sm) Convenience method to assert when this StoreManager is read-only and the specified object is attempting to be updated.void
StorePersistenceHandler.deleteObject
(DNStateManager sm) Deletes a persistent object from the datastore.default void
StorePersistenceHandler.deleteObjects
(DNStateManager... sms) Method to delete an array of objects from the datastore.void
FieldValues.fetchFields
(DNStateManager sm) Method to retrieve the fields and store them in the object managed by StateManager.void
FieldValues.fetchNonLoadedFields
(DNStateManager sm) Method to retrieve the unloaded fields and store them in the object managed by StateManager.void
StorePersistenceHandler.fetchObject
(DNStateManager sm, int[] fieldNumbers) Fetches specified fields of a persistent object from the database.default void
StorePersistenceHandler.fetchObjects
(int[] fieldNumbers, DNStateManager... sms) Fetches specified fields of several persistent objects (of the same type) from the database.void
StorePersistenceHandler.insertObject
(DNStateManager sm) Inserts a persistent object into the database.default void
StorePersistenceHandler.insertObjects
(DNStateManager... sms) Method to insert an array of objects to the datastore.void
StorePersistenceHandler.locateObject
(DNStateManager sm) Locates this object in the datastore.default void
StorePersistenceHandler.locateObjects
(DNStateManager[] sms) Locates object(s) in the datastore.void
ObjectReferencingStoreManager.notifyObjectIsOutdated
(DNStateManager sm) Notifies this store manager that the main memory (RAM, heap) copy of the PC object of the supplied StateManager may not be regarded as valid anymore.void
StorePersistenceHandler.updateObject
(DNStateManager sm, int[] fieldNumbers) Updates a persistent object in the datastore. -
Uses of DNStateManager in org.datanucleus.store.federation
Methods in org.datanucleus.store.federation with parameters of type DNStateManagerModifier and TypeMethodDescriptionvoid
FederatedPersistenceHandler.deleteObject
(DNStateManager sm) void
FederatedPersistenceHandler.deleteObjects
(DNStateManager... sms) void
FederatedPersistenceHandler.fetchObject
(DNStateManager sm, int[] fieldNumbers) void
FederatedPersistenceHandler.fetchObjects
(int[] fieldNumbers, DNStateManager... sms) void
FederatedPersistenceHandler.insertObject
(DNStateManager sm) void
FederatedPersistenceHandler.insertObjects
(DNStateManager... sms) void
FederatedPersistenceHandler.locateObject
(DNStateManager sm) void
FederatedPersistenceHandler.locateObjects
(DNStateManager[] sms) void
FederatedPersistenceHandler.updateObject
(DNStateManager sm, int[] fieldNumbers) -
Uses of DNStateManager in org.datanucleus.store.fieldmanager
Fields in org.datanucleus.store.fieldmanager declared as DNStateManagerModifier and TypeFieldDescriptionprivate final DNStateManager
AttachFieldManager.attachedSM
StateManager for the attached instanceprotected final DNStateManager
AbstractFetchDepthFieldManager.sm
StateManager of the instance being fetched (detached or made transient).protected DNStateManager
AbstractFetchFieldManager.sm
protected DNStateManager
AbstractStoreFieldManager.sm
private final DNStateManager
DeleteFieldManager.sm
StateManager for the owning object.private final DNStateManager
NullifyRelationFieldManager.sm
StateManager for the object.private final DNStateManager
PersistFieldManager.sm
StateManager for the owning object.private final DNStateManager
ReachabilityFieldManager.sm
StateManager for the owning object.Constructors in org.datanucleus.store.fieldmanager with parameters of type DNStateManagerModifierConstructorDescriptionAbstractFetchDepthFieldManager
(DNStateManager sm, boolean[] secondClassMutableFields, FetchPlanForClass fpClass, FetchPlanState state) Constructor for a field manager for fetch plan processing.Constructor to use when retrieving values of fields of existing objects.AbstractStoreFieldManager
(DNStateManager sm, boolean insert) AttachFieldManager
(DNStateManager attachedSM, boolean[] secondClassMutableFields, boolean[] dirtyFields, boolean persistent, boolean cascadeAttach, boolean copy) Constructor.Constructor.DeleteFieldManager
(DNStateManager sm, boolean manageRelationships) Constructor.DetachFieldManager
(DNStateManager sm, boolean[] secondClassMutableFields, FetchPlanForClass fpClass, FetchPlanState state, boolean copy) Constructor for a field manager for detachment.LoadFieldManager
(DNStateManager sm, boolean[] secondClassMutableFields, FetchPlanForClass fpClass, FetchPlanState state) Constructor for a field manager for make transient process.MakeTransientFieldManager
(DNStateManager sm, boolean[] secondClassMutableFields, FetchPlanForClass fpClass, FetchPlanState state) Constructor for a field manager for make transient process.Constructor.PersistFieldManager
(DNStateManager sm, boolean replaceSCOsWithWrappers) Constructor.ReachabilityFieldManager
(DNStateManager sm, Set reachables) Constructor. -
Uses of DNStateManager in org.datanucleus.store.types
Methods in org.datanucleus.store.types with parameters of type DNStateManagerModifier and TypeMethodDescriptionstatic boolean
SCOUtils.attachCopyElements
(DNStateManager ownerSM, Collection scoColl, Collection detachedElements, boolean elementsWithoutId) Convenience method for use by Collection/Set/HashSet attachCopy methods to add any new elements (added whilst detached) to the collection.static void
SCOUtils.attachCopyForCollection
(DNStateManager ownerSM, Object[] detachedElements, Collection attached, boolean elementsWithoutIdentity) Method to return an attached copy of the passed (detached) value.static void
SCOUtils.attachCopyForMap
(DNStateManager ownerSM, Set detachedEntries, Map attached, boolean keysWithoutIdentity, boolean valuesWithoutIdentity) Method to return an attached copy of the passed (detached) value.static void
SCOUtils.attachForCollection
(DNStateManager ownerSM, Object[] elements, boolean elementsWithoutIdentity) Convenience method to attach (recursively) all elements for a collection field.static void
SCOUtils.attachForMap
(DNStateManager ownerSM, Set entries, boolean keysWithoutIdentity, boolean valuesWithoutIdentity) Convenience method to attach (recursively) all keys/values for a map field.<T> SCO
<T> TypeManager.createSCOWrapper
(DNStateManager ownerSM, AbstractMemberMetaData mmd, Class<T> instantiatedType) Method to create a new SCO wrapper for member type.<T> SCO
<T> TypeManagerImpl.createSCOWrapper
(DNStateManager ownerSM, AbstractMemberMetaData mmd, Class<T> instantiatedType) static String
SCOUtils.getContainerInfoMessage
(DNStateManager ownerSM, String fieldName, SCOContainer cont, boolean useCache, boolean allowNulls, boolean lazyLoading) Utility to generate a message representing the SCO container wrapper and its capabilities.static <K,
V> void SCOUtils.populateMapDelegateWithStoreData
(Map<K, V> delegate, MapStore<K, V> store, DNStateManager ownerSM) Convenience method to populate the passed delegate Map with the keys/values from the associated Store.static Object[]
SCOUtils.toArray
(CollectionStore backingStore, DNStateManager sm) Returns true if this collection contains the specified element.static <T> T[]
SCOUtils.toArray
(CollectionStore backingStore, DNStateManager sm, T[] a) Returns an array containing all of the elements in this collection;static <T> T
SCOUtils.unwrapSCOField
(DNStateManager ownerSM, int memberNumber, SCO<T> value) Method to unwrap a SCO field value (if it is wrapped currently) and replace the member value in the owner object.static boolean
SCOUtils.useCachedLazyLoading
(DNStateManager ownerSM, AbstractMemberMetaData mmd) Accessor for whether the use lazy loading when caching the collection.static boolean
SCOUtils.useContainerCache
(DNStateManager ownerSM, AbstractMemberMetaData mmd) Utility to return whether or not to use the container cache for the collection/map for the passed StateManager SCO.static boolean
SCOUtils.useQueuedUpdate
(DNStateManager sm) Convenience method to return if we should use a queued update for the current operation.static Object
SCOUtils.wrapAndReplaceSCOField
(DNStateManager ownerSM, int memberNumber, Object newValue, Object oldValue, boolean replaceFieldIfChanged) Method to create a new SCO wrapper for the specified field replacing the old value with the new value.static Object
SCOUtils.wrapSCOField
(DNStateManager ownerSM, int memberNumber, Object value, boolean replaceFieldIfChanged) Method to create a new SCO wrapper for the specified field/property.static <T> SCO
<T> SCOUtils.wrapSCOField
(DNStateManager ownerSM, AbstractMemberMetaData mmd, Class instantiatedType, T value, boolean replaceField) Method to create a new SCO wrapper for the specified member, and optionally replace the value in the member of the owner object.Constructors in org.datanucleus.store.types with parameters of type DNStateManagerModifierConstructorDescriptionSCOCollectionIterator
(Collection<E> sco, DNStateManager sm, Collection<E> theDelegate, CollectionStore<E> backingStore, boolean useDelegate) Constructor taking the delegate or backing store.SCOListIterator
(List<E> sco, DNStateManager sm, List<E> theDelegate, ListStore<E> theStore, boolean useDelegate, int startIndex) Constructor taking the delegate or backing store, and any start index. -
Uses of DNStateManager in org.datanucleus.store.types.scostore
Methods in org.datanucleus.store.types.scostore with parameters of type DNStateManagerModifier and TypeMethodDescriptionboolean
CollectionStore.add
(DNStateManager sm, E element, int size) Method to add an element to the collection.void
ListStore.add
(DNStateManager ownerSM, E element, int index, int size) Method to add an element to the List.boolean
PersistableRelationStore.add
(DNStateManager sm1, DNStateManager sm2) Method to add the relation between the provided objects.boolean
CollectionStore.addAll
(DNStateManager sm, Collection<? extends E> elements, int size) Method to add a collection of elements to the collection.boolean
ListStore.addAll
(DNStateManager ownerSM, Collection<? extends E> c, int index, int size) Method to add a collection of elements to the List.void
ArrayStore.clear
(DNStateManager sm) Method to clear the array.void
CollectionStore.clear
(DNStateManager sm) Method to clear the collection.void
MapStore.clear
(DNStateManager sm) Method to clear the map.boolean
CollectionStore.contains
(DNStateManager sm, Object element) Method to check if an element exists in the collection.boolean
MapStore.containsKey
(DNStateManager sm, Object key) Accessor for whether the Map contains this key.boolean
MapStore.containsValue
(DNStateManager sm, Object value) Accessor for whether the Map contains this value.ListStore.get
(DNStateManager ownerSM, int index) Method to retrieve an element from a position in the List.MapStore.get
(DNStateManager sm, Object key) Accessor for a value from the Map.ArrayStore.getArray
(DNStateManager sm) Method to retrieve the elements of the array.int
ListStore.indexOf
(DNStateManager ownerSM, Object element) Method to return the position of an element in the List.ArrayStore.iterator
(DNStateManager sm) Accessor for an iterator for the array.CollectionStore.iterator
(DNStateManager sm) Accessor for an iterator for the collection.int
ListStore.lastIndexOf
(DNStateManager ownerSM, Object element) Method to return the last position of an element in the List.ListStore.listIterator
(DNStateManager ownerSM) Accessor for a list iterator for the List.MapStore.put
(DNStateManager sm, K key, V value) Method to add a value to the Map against this key.default void
MapStore.put
(DNStateManager sm, K key, V value, V previousValue, boolean present) Method to add a value to the Map against this key, where we know the previous value for the key (if present).default void
Method to add a map of values to the Map where we know the existing Map values prior to the putAll call.void
MapStore.putAll
(DNStateManager sm, Map<? extends K, ? extends V> m) Method to add a map of values to the Map.boolean
CollectionStore.remove
(DNStateManager sm, Object element, int size, boolean allowDependentField) Method to remove an element from the collection.ListStore.remove
(DNStateManager sm, int index, int size) Method to remove an element from the List.MapStore.remove
(DNStateManager sm, Object key) Method to remove a value from the Map.void
MapStore.remove
(DNStateManager sm, Object key, Object val) Method to remove a value from the Map where we know the value assigned to this key (to avoid lookups).boolean
PersistableRelationStore.remove
(DNStateManager sm1) Method to remove the relation from the provided object.boolean
CollectionStore.removeAll
(DNStateManager sm, Collection elements, int size) Method to remove a collection of elements from the collection.boolean
ListStore.removeAll
(DNStateManager ownerSM, Collection elements, int size, int[] elementIndices) Method to remove a collection of elements from the collection.boolean
ArrayStore.set
(DNStateManager sm, Object array) Method to set the elements in the array.ListStore.set
(DNStateManager ownerSM, int index, E element, boolean allowDependentField) Method to update an element at a position in the List.int
ArrayStore.size
(DNStateManager sm) Accessor for the size of the array.int
CollectionStore.size
(DNStateManager sm) Accessor for the size of the collection.ListStore.subList
(DNStateManager ownerSM, int from, int to) Accessor for a sublist of elements between from and to indices.void
CollectionStore.update
(DNStateManager sm, Collection<? extends E> coll) Method to update the collection to be the supplied collection of elements.default void
MapStore.update
(DNStateManager sm, Map<K, V> map) Method to update the map to be the supplied map of entries.boolean
PersistableRelationStore.update
(DNStateManager sm1, DNStateManager sm2) Method to update the relation for the first object to relate to the second object.boolean
CollectionStore.updateEmbeddedElement
(DNStateManager sm, E element, int fieldNumber, Object value) Method to update en embedded element in the collection.boolean
MapStore.updateEmbeddedKey
(DNStateManager sm, Object key, int fieldNumber, Object newValue) Method to update an embedded key in the map.boolean
MapStore.updateEmbeddedValue
(DNStateManager sm, Object value, int fieldNumber, Object newValue) Method to update an embedded value in the map. -
Uses of DNStateManager in org.datanucleus.store.types.wrappers
Fields in org.datanucleus.store.types.wrappers declared as DNStateManagerModifier and TypeFieldDescriptionprotected DNStateManager
ArrayList.ownerSM
protected DNStateManager
BitSet.ownerSM
protected DNStateManager
Collection.ownerSM
protected DNStateManager
Date.ownerSM
protected DNStateManager
GregorianCalendar.ownerSM
protected DNStateManager
HashMap.ownerSM
protected DNStateManager
HashSet.ownerSM
protected DNStateManager
Hashtable.ownerSM
protected DNStateManager
LinkedHashMap.ownerSM
protected DNStateManager
LinkedHashSet.ownerSM
protected DNStateManager
LinkedList.ownerSM
protected DNStateManager
List.ownerSM
protected DNStateManager
Map.ownerSM
protected DNStateManager
PriorityQueue.ownerSM
protected DNStateManager
Properties.ownerSM
protected DNStateManager
Queue.ownerSM
protected DNStateManager
Set.ownerSM
protected DNStateManager
SortedMap.ownerSM
protected DNStateManager
SortedSet.ownerSM
protected DNStateManager
SqlDate.ownerSM
protected DNStateManager
SqlTime.ownerSM
protected DNStateManager
SqlTimestamp.ownerSM
protected DNStateManager
Stack.ownerSM
protected DNStateManager
TreeMap.ownerSM
protected DNStateManager
TreeSet.ownerSM
protected DNStateManager
Vector.ownerSM
Constructors in org.datanucleus.store.types.wrappers with parameters of type DNStateManagerModifierConstructorDescriptionConstructor, using StateManager of the "owner" and the member.BitSet
(DNStateManager sm, AbstractMemberMetaData mmd) Creates a BitSet object.Constructor.Date
(DNStateManager sm, AbstractMemberMetaData mmd) Creates a Date object that represents the time at which it was allocated.Creates a GregorianCalendar object that represents the time at which it was allocated.HashMap
(DNStateManager sm, AbstractMemberMetaData mmd) ConstructorHashSet
(DNStateManager sm, AbstractMemberMetaData mmd) Constructor, using StateManager of the "owner" and the field name.ConstructorConstructorConstructor, using StateManager of the "owner" and the field name.Constructor, using StateManager of the "owner" and the field name.List
(DNStateManager sm, AbstractMemberMetaData mmd) Constructor, using StateManager of the "owner" and the field name.Map
(DNStateManager sm, AbstractMemberMetaData mmd) Constructor, using StateManager of the "owner" and the field name.Constructor.ConstructorQueue
(DNStateManager sm, AbstractMemberMetaData mmd) Constructor.Set
(DNStateManager sm, AbstractMemberMetaData mmd) Constructor, using StateManager of the "owner" and the field name.ConstructorConstructor, using StateManager of the "owner" and the field name.SqlDate
(DNStateManager sm, AbstractMemberMetaData mmd) Creates a SqlDate object that represents the time at which it was allocated.SqlTime
(DNStateManager sm, AbstractMemberMetaData mmd) Creates a SqlTime object that represents the time at which it was allocated.Creates aSqlTimestamp
object that represents the time at which it was allocated.Stack
(DNStateManager sm, AbstractMemberMetaData mmd) Constructor, using StateManager of the "owner" and the field name.TreeMap
(DNStateManager sm, AbstractMemberMetaData mmd) ConstructorTreeSet
(DNStateManager sm, AbstractMemberMetaData mmd) Constructor, using StateManager of the "owner" and the field name.Vector
(DNStateManager sm, AbstractMemberMetaData mmd) Constructor, using StateManager of the "owner" and the field name. -
Uses of DNStateManager in org.datanucleus.store.types.wrappers.backed
Constructors in org.datanucleus.store.types.wrappers.backed with parameters of type DNStateManagerModifierConstructorDescriptionConstructor, using StateManager of the "owner" and the field name.Constructor.Collection
(DNStateManager ownerSM, AbstractMemberMetaData mmd, boolean allowNulls, CollectionStore backingStore) Constructor used when creating a Collection for "Map.values" with specified backing store.HashMap
(DNStateManager sm, AbstractMemberMetaData mmd) ConstructorHashSet
(DNStateManager sm, AbstractMemberMetaData mmd) Constructor, using StateManager of the "owner" and the field name.ConstructorConstructorConstructor, using StateManager of the "owner" and the field name.LinkedList
(DNStateManager ownerSM, AbstractMemberMetaData mmd) Constructor, using StateManager of the "owner" and the field name.List
(DNStateManager ownerSM, AbstractMemberMetaData mmd) Constructor, using StateManager of the "owner" and the field name.Map
(DNStateManager sm, AbstractMemberMetaData mmd) Constructor, using StateManager of the "owner" and the field name.Constructor.ConstructorQueue
(DNStateManager sm, AbstractMemberMetaData mmd) Constructor.Set
(DNStateManager sm, AbstractMemberMetaData mmd) Constructor.Set
(DNStateManager ownerSM, AbstractMemberMetaData mmd, boolean allowNulls, SetStore<E> backingStore) Constructor allowing the specification of the backing store to be used.ConstructorConstructor, using StateManager of the "owner" and the field name.Stack
(DNStateManager sm, AbstractMemberMetaData mmd) Constructor, using StateManager of the "owner" and the field name.TreeMap
(DNStateManager sm, AbstractMemberMetaData mmd) ConstructorTreeSet
(DNStateManager sm, AbstractMemberMetaData mmd) Constructor, using StateManager of the "owner" and the field name.Vector
(DNStateManager sm, AbstractMemberMetaData mmd) Constructor, using StateManager of the "owner" and the field name.