Package org.datanucleus
Class ExecutionContextImpl.ThreadContextInfo
- java.lang.Object
-
- org.datanucleus.ExecutionContextImpl.ThreadContextInfo
-
- Enclosing class:
- ExecutionContextImpl
static class ExecutionContextImpl.ThreadContextInfo extends java.lang.ObjectContext info for a particular thread. Can be used for storing state information for the current thread where we don't want to pass it through large numbers of method calls (e.g persistence by reachability) where such argument passing would damage the structure of DataNucleus.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Map<Persistable,DNStateManager>attachedOwnerByObjectMap of the owner of an attached object, keyed by the object.(package private) java.util.Map<java.lang.Object,Persistable>attachedPCByIdMap of attached PC object keyed by the id.(package private) booleanmerging(package private) booleannontxPersistDelete(package private) intreferenceCounter
-
Constructor Summary
Constructors Constructor Description ThreadContextInfo()
-
-
-
Field Detail
-
referenceCounter
int referenceCounter
-
attachedOwnerByObject
java.util.Map<Persistable,DNStateManager> attachedOwnerByObject
Map of the owner of an attached object, keyed by the object. Present when performing attachment.
-
attachedPCById
java.util.Map<java.lang.Object,Persistable> attachedPCById
Map of attached PC object keyed by the id. Present when performing a attachment.
-
merging
boolean merging
-
nontxPersistDelete
boolean nontxPersistDelete
-
-