Class ExecutionContextImpl.ThreadContextInfo

java.lang.Object
org.datanucleus.ExecutionContextImpl.ThreadContextInfo
Enclosing class:
ExecutionContextImpl

static class ExecutionContextImpl.ThreadContextInfo extends Object
Context 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 Details

    • referenceCounter

      int referenceCounter
    • attachedOwnerByObject

      Map<Persistable,DNStateManager> attachedOwnerByObject
      Map of the owner of an attached object, keyed by the object. Present when performing attachment.
    • attachedPCById

      Map<Object,Persistable> attachedPCById
      Map of attached PC object keyed by the id. Present when performing a attachment.
    • merging

      boolean merging
    • nontxPersistDelete

      boolean nontxPersistDelete
  • Constructor Details

    • ThreadContextInfo

      ThreadContextInfo()