Uses of Interface
org.datanucleus.ExecutionContext
Packages that use ExecutionContext
Package
Description
This package provides classes that are typically externally called, whether that means by developers
or by other DataNucleus plugins.
Provides adapters for different client APIs, like JDO, JPA and so on.
This package provides classes implementing L1/L2 persistable object caching within DataNucleus.
This package provides classes managing the flush process when using MANUAL flush.
Package defining object identity classes.
Provides classes representing the MetaData for files, packages, classes, fields, containers, etc.
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 defining the connection to 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 query language support for datastores.
Package providing the evaluation of queries using an in-memory process with evaluators for JDOQL and JPQL.
Package defining the data structure mechanism for the schema of the datastore.
Package providing basic java type handling for DataNucleus.
Package providing support specific to transactions for DataNucleus.
Package providing handlers for JTA transactions
-
Uses of ExecutionContext in org.datanucleus
Classes in org.datanucleus that implement ExecutionContextModifier and TypeClassDescriptionclassManager for persistence/retrieval of objects within an execution context, equating to the work required by JDO PersistenceManager and JPA EntityManager.classExecutionContext to attempt to handle multi-threaded PM/EM cases.Fields in org.datanucleus declared as ExecutionContextModifier and TypeFieldDescription(package private) ExecutionContextBeanValidationHandler.PersistenceTraversalResolver.ec(package private) final ExecutionContextFetchPlan.ecExecution Context that this FetchPlan relates to.private ExecutionContextReachabilityAtCommitHandler.ecFields in org.datanucleus with type parameters of type ExecutionContextModifier and TypeFieldDescriptionprivate Map<ExecutionContext, Long> ExecutionContextPool.recyclableECsMethods in org.datanucleus that return ExecutionContextModifier and TypeMethodDescriptionPersistenceNucleusContext.getExecutionContext(Object owner, Map<String, Object> options) Method to return an ExecutionContext for use in persistence.PersistenceNucleusContextImpl.getExecutionContext(Object owner, Map<String, Object> options) Methods in org.datanucleus with parameters of type ExecutionContextModifier and TypeMethodDescriptionvoidExecutionContextPool.checkIn(ExecutionContext ec) voidExecutionContextListener.executionContextClosing(ExecutionContext ec) Method called when the specified ExecutionContext is closing.protected voidExecutionContextPool.expire(ExecutionContext ec) PersistenceNucleusContext.getBeanValidationHandler(ExecutionContext ec) Method to return a handler for bean validation (JSR303).PersistenceNucleusContextImpl.getBeanValidationHandler(ExecutionContext ec) PersistenceNucleusContext.getCurrentUser(ExecutionContext ec) Accessor for the current user for the supplied ExecutionContext.PersistenceNucleusContextImpl.getCurrentUser(ExecutionContext ec) PersistenceNucleusContext.getTenantId(ExecutionContext ec) Accessor for the tenant id for the ExecutionContext.PersistenceNucleusContextImpl.getTenantId(ExecutionContext ec) String[]PersistenceNucleusContext.getTenantReadIds(ExecutionContext ec) Accessor for the ids of the tenants that should be included in any read operations.String[]PersistenceNucleusContextImpl.getTenantReadIds(ExecutionContext ec) voidExecutionContext.LifecycleListener.preClose(ExecutionContext ec) Invoked before closing the ExecutionContextprotected booleanExecutionContextPool.validate(ExecutionContext ec) Constructors in org.datanucleus with parameters of type ExecutionContextModifierConstructorDescriptionBeanValidationHandler(ExecutionContext ec, Object validatorFactory) Constructor for a validation handler.FetchPlan(ExecutionContext ec, ClassLoaderResolver clr) Constructor.(package private)Constructor for a reachability-at-commit handler. -
Uses of ExecutionContext in org.datanucleus.api
Methods in org.datanucleus.api that return ExecutionContextModifier and TypeMethodDescriptionApiAdapter.getExecutionContext(Object pc) Method to return the ExecutionContext (if any) associated with the passed object. -
Uses of ExecutionContext in org.datanucleus.cache
Fields in org.datanucleus.cache declared as ExecutionContextModifier and TypeFieldDescription(package private) ExecutionContextL2CachePopulateFieldManager.ec(package private) ExecutionContextL2CacheRetrieveFieldManager.ecExecution Context. -
Uses of ExecutionContext in org.datanucleus.flush
Methods in org.datanucleus.flush with parameters of type ExecutionContextModifier 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.voidOperationQueue.processOperationsForNoBackingStoreSCOs(ExecutionContext ec) Method to process all SCO operations where the SCOs don't use a backing store. -
Uses of ExecutionContext in org.datanucleus.identity
Methods in org.datanucleus.identity with parameters of type ExecutionContextModifier and TypeMethodDescriptionstatic ObjectIdentityUtils.getApplicationIdentityForResultSetRow(ExecutionContext ec, AbstractClassMetaData cmd, Class pcClass, boolean inheritanceCheck, FieldManager resultsFM) Method to return the object application identity for a row of the result set.IdentityStringTranslator.getIdentity(ExecutionContext ec, String stringId) Method to translate the object into the identity.XcaliaIdentityStringTranslator.getIdentity(ExecutionContext ec, String stringId) IdentityKeyTranslator.getKey(ExecutionContext ec, Class cls, Object key) Method to translate the object into the identity.static ObjectIdentityUtils.getObjectFromIdString(String idStr, AbstractClassMetaData cmd, ExecutionContext ec, boolean checkInheritance) Convenience method to find an object given a string form of its identity, and the metadata for the class (or a superclass).static ObjectIdentityUtils.getObjectFromIdString(String idStr, AbstractMemberMetaData mmd, FieldRole fieldRole, ExecutionContext ec, boolean checkInheritance) Convenience method to find an object given a string form of its identity, and the metadata for the member.static ObjectIdentityUtils.getObjectFromPersistableIdentity(String persistableId, AbstractClassMetaData cmd, ExecutionContext ec) Convenience method to find an object given a string form of its identity, and the metadata for the class (or a superclass). -
Uses of ExecutionContext in org.datanucleus.metadata
Methods in org.datanucleus.metadata with parameters of type ExecutionContextModifier and TypeMethodDescriptionstatic List<AbstractClassMetaData> MetaDataUtils.getMetaDataForCandidates(Class cls, boolean subclasses, ExecutionContext ec) Convenience method to return the class metadata for the candidate and optionally its subclasses.booleanMetaDataUtils.storesFCO(AbstractMemberMetaData mmd, ExecutionContext ec) Convenience method that returns if a member stores a First-Class object (FCO).booleanMetaDataUtils.storesPersistable(AbstractMemberMetaData mmd, ExecutionContext ec) Convenience method that returns if a field stores a persistable object. -
Uses of ExecutionContext in org.datanucleus.state
Fields in org.datanucleus.state declared as ExecutionContextModifier and TypeFieldDescription(package private) ExecutionContextLockManagerImpl.ec(package private) final ExecutionContextRelationshipManagerImpl.ecprotected ExecutionContextStateManagerImpl.myECThe ExecutionContext for this StateManagerMethods in org.datanucleus.state that return ExecutionContextModifier and TypeMethodDescriptionDNStateManager.getExecutionContext()StateManagerImpl.getExecutionContext()Methods in org.datanucleus.state with parameters of type ExecutionContextModifier and TypeMethodDescriptionprotected voidRelationshipManagerImpl.checkManyToManyBidirectionalRelation(AbstractMemberMetaData mmd, ClassLoaderResolver clr, ExecutionContext ec, List<RelationshipManagerImpl.RelationChange> changes) Method to check consistency of the passed field as M-N.protected voidRelationshipManagerImpl.checkManyToOneBidirectionalRelation(AbstractMemberMetaData mmd, ClassLoaderResolver clr, ExecutionContext ec, List<RelationshipManagerImpl.RelationChange> changes) Method to check the consistency of the passed field as N-1.protected voidRelationshipManagerImpl.checkOneToManyBidirectionalRelation(AbstractMemberMetaData mmd, ClassLoaderResolver clr, ExecutionContext ec, List<RelationshipManagerImpl.RelationChange> changes) Method to check the consistency of the passed field as 1-N.protected voidRelationshipManagerImpl.checkOneToOneBidirectionalRelation(AbstractMemberMetaData mmd, ClassLoaderResolver clr, ExecutionContext ec, List<RelationshipManagerImpl.RelationChange> changes) Method to check the consistency of the passed field as 1-1.StateManagerPool.checkOut(ExecutionContext ec, AbstractClassMetaData cmd) voidDNStateManager.connect(ExecutionContext ec, AbstractClassMetaData cmd) Method to (re)connect this StateManager to the specified ExecutionContext and object type.voidReferentialStateManagerImpl.connect(ExecutionContext ec, AbstractClassMetaData cmd) voidStateManagerImpl.connect(ExecutionContext ec, AbstractClassMetaData cmd) protected DNStateManagerStateManagerPool.create(ExecutionContext ec, AbstractClassMetaData cmd) protected DNStateManagerStateManagerFactoryImpl.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) protected voidRelationshipManagerImpl.processManyToManyBidirectionalRelation(AbstractMemberMetaData mmd, ClassLoaderResolver clr, ExecutionContext ec, List<RelationshipManagerImpl.RelationChange> changes) Method to process all M-N bidirectional fields.protected voidRelationshipManagerImpl.processManyToOneBidirectionalRelation(AbstractMemberMetaData mmd, ClassLoaderResolver clr, ExecutionContext ec, List<RelationshipManagerImpl.RelationChange> changes) Method to process all N-1 bidirectional fields.protected voidRelationshipManagerImpl.processOneToManyBidirectionalRelation(AbstractMemberMetaData mmd, ClassLoaderResolver clr, ExecutionContext ec, List<RelationshipManagerImpl.RelationChange> changes) Method to process all 1-N bidirectional fields.protected voidRelationshipManagerImpl.processOneToOneBidirectionalRelation(AbstractMemberMetaData mmd, ClassLoaderResolver clr, ExecutionContext ec, List<RelationshipManagerImpl.RelationChange> changes) Method to process all 1-1 bidir fields.Constructors in org.datanucleus.state with parameters of type ExecutionContextModifierConstructorDescriptionConstructor for object of specified type managed by the provided ExecutionContext.Constructor for object of specified type managed by the provided ExecutionContext. -
Uses of ExecutionContext in org.datanucleus.store
Fields in org.datanucleus.store declared as ExecutionContextModifier and TypeFieldDescriptionprotected final ExecutionContextNucleusSequenceImpl.ecexecution context.Methods in org.datanucleus.store with parameters of type ExecutionContextModifier and TypeMethodDescriptiondefault voidStorePersistenceHandler.batchEnd(ExecutionContext ec, StorePersistenceHandler.PersistenceBatchType type) Signal that the current batch of operations are ending for the specified ExecutionContext.default voidStorePersistenceHandler.batchStart(ExecutionContext ec, StorePersistenceHandler.PersistenceBatchType batchType) Signal that a batch of operations are starting for the specified ExecutionContext.StorePersistenceHandler.findObject(ExecutionContext ec, Object id) Method to find a persistable object with the specified id from the datastore, if the StoreManager supports this operation (optional).AbstractPersistenceHandler.findObjectForUnique(ExecutionContext ec, AbstractClassMetaData cmd, String[] memberNames, Object[] values) StorePersistenceHandler.findObjectForUnique(ExecutionContext ec, AbstractClassMetaData cmd, String[] memberNames, Object[] values) Method to find the object with the specified value(s) for the member(s) of the specified type.default Object[]StorePersistenceHandler.findObjects(ExecutionContext ec, Object[] ids) Method to find an array of objects with the specified identities from the datastore.AbstractStoreManager.getClassNameForObjectID(Object id, ClassLoaderResolver clr, ExecutionContext ec) StoreManager.getClassNameForObjectID(Object id, ClassLoaderResolver clr, ExecutionContext ec) Returns the class corresponding to the given object identity.<T> Extent<T> AbstractStoreManager.getExtent(ExecutionContext ec, Class<T> c, boolean subclasses) <T> Extent<T> StoreManager.getExtent(ExecutionContext ec, Class<T> c, boolean subclasses) Interface to getting an Extent for a class.protected ObjectAbstractStoreManager.getNextValueForValueGenerator(ValueGenerator generator, ExecutionContext ec) Accessor for the next value from the specified ValueGenerator.AbstractStoreManager.getNucleusConnection(ExecutionContext ec) StoreManager.getNucleusConnection(ExecutionContext ec) Method to return a connection to the user for the ExecutionContext.default NucleusSequenceStoreManager.getNucleusSequence(ExecutionContext ec, SequenceMetaData seqmd) Method to return a datastore sequence for this datastore matching the passed sequence MetaData.AbstractStoreManager.getValueGenerationStrategyValue(ExecutionContext ec, AbstractClassMetaData cmd, AbstractMemberMetaData mmd) StoreManager.getValueGenerationStrategyValue(ExecutionContext ec, AbstractClassMetaData cmd, AbstractMemberMetaData mmd) Method to retrieve the value for a value generation strategy for a particular field or datastore-identity.StoreManager.newQuery(String language, ExecutionContext ec) Method to return a new query, for the specified language and ExecutionContext.StoreManager.newQuery(String language, ExecutionContext ec, String queryString) Method to return a new query, for the specified language and ExecutionContext, using the specified query string.StoreManager.newQuery(String language, ExecutionContext ec, Query q) Method to return a new query, for the specified language and ExecutionContext, using the specified existing query to copy from.default voidStoreManager.transactionCommitted(ExecutionContext ec) Method to inform the StoreManager that a transaction has committed for the specified execution context.default voidStoreManager.transactionRolledBack(ExecutionContext ec) Method to inform the StoreManager that a transaction has rolled back for the specified execution context.default voidStoreManager.transactionStarted(ExecutionContext ec) Method to inform the StoreManager that a transaction has started for the specified execution context.booleanAbstractStoreManager.useBackedSCOWrapperForMember(AbstractMemberMetaData mmd, ExecutionContext ec) booleanStoreManager.useBackedSCOWrapperForMember(AbstractMemberMetaData mmd, ExecutionContext ec) Method to return whether the specified member should use a backed SCO wrapper.Constructors in org.datanucleus.store with parameters of type ExecutionContextModifierConstructorDescriptionNucleusSequenceImpl(ExecutionContext objectMgr, StoreManager storeMgr, SequenceMetaData seqmd) Constructor. -
Uses of ExecutionContext in org.datanucleus.store.connection
Fields in org.datanucleus.store.connection with type parameters of type ExecutionContextModifier and TypeFieldDescription(package private) Map<ExecutionContext, ManagedConnection> ConnectionManagerImpl.primaryConnectionsCacheCache of ManagedConnection from the "primary" ConnectionFactory, keyed by the ExecutionContext (since an EC can have max 1 per factory).(package private) Map<ExecutionContext, ManagedConnection> ConnectionManagerImpl.secondaryConnectionsCacheCache of ManagedConnection from the "secondary" ConnectionFactory, keyed by the ExecutionContext (since an EC can have max 1 per factory).Methods in org.datanucleus.store.connection with parameters of type ExecutionContextModifier and TypeMethodDescriptionprivate ManagedConnectionConnectionManagerImpl.allocateManagedConnection(boolean primary, ExecutionContext ec, Transaction transaction, Map options) Method to return a ManagedConnection for this ExecutionContext.voidConnectionManager.closeAllConnections(ExecutionContext ec) Method to close all pooled connections for the specified ExecutionContext.voidConnectionManagerImpl.closeAllConnections(ExecutionContext ec) ConnectionFactory.createManagedConnection(ExecutionContext ec, Map<String, Object> transactionOptions) Create the ManagedConnection.ConnectionManager.getConnection(boolean primary, ExecutionContext ec, Transaction txn) Accessor for a connection from the specified factory, for the specified ExecutionContext dependent on whether the connection will be enlisted.default ManagedConnectionConnectionManager.getConnection(ExecutionContext ec) Accessor for a connection for the specified ExecutionContext.ConnectionManager.getConnection(ExecutionContext ec, Map options) Accessor for a connection for the specified ExecutionContext.ConnectionManagerImpl.getConnection(boolean primary, ExecutionContext ec, Transaction txn) ConnectionManagerImpl.getConnection(ExecutionContext ec, Map options) protected ManagedConnectionConnectionManagerImpl.getManagedConnection(boolean primary, ExecutionContext ec) Get a ManagedConnection from the cache.protected voidConnectionManagerImpl.putManagedConnection(boolean primary, ExecutionContext ec, ManagedConnection mconn) Put a ManagedConnection into the cache.protected voidConnectionManagerImpl.removeManagedConnection(boolean primary, ExecutionContext ec) Method to remove the ManagedConnection from the cache. -
Uses of ExecutionContext in org.datanucleus.store.federation
Methods in org.datanucleus.store.federation with parameters of type ExecutionContextModifier and TypeMethodDescriptionvoidFederatedPersistenceHandler.batchEnd(ExecutionContext ec, StorePersistenceHandler.PersistenceBatchType type) voidFederatedPersistenceHandler.batchStart(ExecutionContext ec, StorePersistenceHandler.PersistenceBatchType batchType) FederatedPersistenceHandler.findObject(ExecutionContext ec, Object id) FederatedPersistenceHandler.findObjectForUnique(ExecutionContext ec, AbstractClassMetaData cmd, String[] memberNames, Object[] values) Object[]FederatedPersistenceHandler.findObjects(ExecutionContext ec, Object[] ids) FederatedStoreManager.getClassNameForObjectID(Object id, ClassLoaderResolver clr, ExecutionContext ec) FederatedStoreManager.getConnection(ExecutionContext ec) FederatedStoreManager.getConnection(ExecutionContext ec, Map options) <T> Extent<T> FederatedStoreManager.getExtent(ExecutionContext ec, Class<T> c, boolean subclasses) FederatedStoreManager.getNucleusConnection(ExecutionContext ec) FederatedStoreManager.getNucleusSequence(ExecutionContext ec, SequenceMetaData seqmd) FederatedStoreManager.getValueGenerationStrategyValue(ExecutionContext ec, AbstractClassMetaData cmd, AbstractMemberMetaData mmd) FederatedQueryManagerImpl.newQuery(String language, ExecutionContext ec, Object query) Method to generate a new query using the passed query as basis.FederatedStoreManager.newQuery(String language, ExecutionContext ec) FederatedStoreManager.newQuery(String language, ExecutionContext ec, String queryString) FederatedStoreManager.newQuery(String language, ExecutionContext ec, Query q) voidFederatedStoreManager.transactionCommitted(ExecutionContext ec) voidFederatedStoreManager.transactionRolledBack(ExecutionContext ec) voidFederatedStoreManager.transactionStarted(ExecutionContext ec) booleanFederatedStoreManager.useBackedSCOWrapperForMember(AbstractMemberMetaData mmd, ExecutionContext ec) Constructors in org.datanucleus.store.federation with parameters of type ExecutionContextModifierConstructorDescriptionFederatedJDOQLQuery(StoreManager storeMgr, ExecutionContext ec) Constructs a new query instance that uses the given execution context.FederatedJDOQLQuery(StoreManager storeMgr, ExecutionContext ec, String query) Constructor for a JDOQL query where the query is specified using the "Single-String" format.FederatedJDOQLQuery(StoreManager storeMgr, ExecutionContext ec, FederatedJDOQLQuery q) Constructs a new query instance having the same criteria as the given query. -
Uses of ExecutionContext in org.datanucleus.store.fieldmanager
Fields in org.datanucleus.store.fieldmanager declared as ExecutionContextModifier and TypeFieldDescriptionprotected ExecutionContextAbstractFetchFieldManager.ecprotected ExecutionContextAbstractStoreFieldManager.ecMethods in org.datanucleus.store.fieldmanager with parameters of type ExecutionContextModifier and TypeMethodDescriptionprivate voidDeleteFieldManager.processContainer(AbstractMemberMetaData mmd, Object container, ExecutionContext ec, RelationType relationType) private voidDeleteFieldManager.processElementContainer(AbstractMemberMetaData mmd, Object container, ContainerHandler<Object, ElementContainerAdapter<Object>> containerHandler, ExecutionContext ec, RelationType relationType) private voidDeleteFieldManager.processSingleValue(AbstractMemberMetaData mmd, Object value, ExecutionContext ec, RelationType relationType) Constructors in org.datanucleus.store.fieldmanager with parameters of type ExecutionContextModifierConstructorDescriptionConstructor to use when creating new objects of the specified type, say from a query.AbstractStoreFieldManager(ExecutionContext ec, AbstractClassMetaData cmd, boolean insert) -
Uses of ExecutionContext in org.datanucleus.store.query
Fields in org.datanucleus.store.query declared as ExecutionContextModifier and TypeFieldDescriptionprotected ExecutionContextAbstractCandidateLazyLoadList.ecExecutionContext.protected final ExecutionContextAbstractExtent.ecExecutionContextprotected ExecutionContextQuery.ecMethods in org.datanucleus.store.query that return ExecutionContextModifier and TypeMethodDescriptionAbstractExtent.getExecutionContext()Accessor for the owning execution context.DefaultCandidateExtent.getExecutionContext()Extent.getExecutionContext()Query.getExecutionContext()Accessor for the Execution Context associated with this Query.Methods in org.datanucleus.store.query with parameters of type ExecutionContextModifier and TypeMethodDescriptionvoidQuery.executionContextClosing(ExecutionContext ec) static ListQueryUtils.orderCandidates(List candidates, Class type, String ordering, ExecutionContext ec, ClassLoaderResolver clr) Convenience method to in-memory order the candidates, using the ordering supplied.static ListQueryUtils.orderCandidates(List candidates, Class type, String ordering, ExecutionContext ec, ClassLoaderResolver clr, String queryLanguage) Convenience method to in-memory order the candidates, using the ordering supplied.static ListQueryUtils.orderCandidates(List candidates, Expression[] ordering, Map state, String candidateAlias, ExecutionContext ec, ClassLoaderResolver clr, Map parameterValues, Imports imports, String queryLanguage) Convenience method to order the input List of objects to the ordering defined by the compilation.Constructors in org.datanucleus.store.query with parameters of type ExecutionContextModifierConstructorDescriptionAbstractCandidateLazyLoadList(Class cls, boolean subclasses, ExecutionContext ec, String cacheType) AbstractExtent(ExecutionContext ec, Class<T> cls, boolean subclasses, AbstractClassMetaData cmd) Constructor.AbstractJavaQuery(StoreManager storeMgr, ExecutionContext ec) Constructor for a Java-based query.AbstractJDOQLQuery(StoreManager storeMgr, ExecutionContext ec) Constructor.AbstractJDOQLQuery(StoreManager storeMgr, ExecutionContext ec, String query) Constructor for a JDOQL query where the query is specified using the "Single-String" format.AbstractJDOQLQuery(StoreManager storeMgr, ExecutionContext ec, AbstractJDOQLQuery q) Constructs a new query instance having the same criteria as the given query.AbstractJPQLQuery(StoreManager storeMgr, ExecutionContext ec) Constructor.AbstractJPQLQuery(StoreManager storeMgr, ExecutionContext ec, String query) Constructor for a JPQL query where the query is specified using the "Single-String" format.AbstractJPQLQuery(StoreManager storeMgr, ExecutionContext ec, AbstractJPQLQuery q) Constructs a new query instance having the same criteria as the given query.AbstractStoredProcedureQuery(StoreManager storeMgr, ExecutionContext ec, String procName) Constructs a new query instance having the same criteria as the given query.AbstractStoredProcedureQuery(StoreManager storeMgr, ExecutionContext ec, AbstractStoredProcedureQuery query) Constructs a new query instance from the existing query.DefaultCandidateExtent(ExecutionContext ec, Class<T> cls, boolean subclasses, AbstractClassMetaData cmd) Constructor.Query(StoreManager storeMgr, ExecutionContext ec) Constructs a new query instance that uses the given ExecutionContext. -
Uses of ExecutionContext in org.datanucleus.store.query.inmemory
Fields in org.datanucleus.store.query.inmemory declared as ExecutionContextModifier and TypeFieldDescription(package private) ExecutionContextInMemoryExpressionEvaluator.ecConstructors in org.datanucleus.store.query.inmemory with parameters of type ExecutionContextModifierConstructorDescriptionInMemoryExpressionEvaluator(ExecutionContext ec, Map params, Map<String, Object> state, Imports imports, ClassLoaderResolver clr, String candidateAlias, String queryLang) Constructor for an in-memory evaluator. -
Uses of ExecutionContext in org.datanucleus.store.schema
Methods in org.datanucleus.store.schema with parameters of type ExecutionContextModifier and TypeMethodDescriptionMultiTenancyProvider.getTenantId(ExecutionContext ec) Return the tenant id for the current tenant (for use in all WRITE operations).String[]MultiTenancyProvider.getTenantReadIds(ExecutionContext ec) Return the tenant id(s) that the current tenant can view (for use in all READ operations). -
Uses of ExecutionContext in org.datanucleus.store.types
Methods in org.datanucleus.store.types with parameters of type ExecutionContextModifier and TypeMethodDescriptionstatic booleanSCOUtils.detachAsWrapped(ExecutionContext ec) Convenience accessor for whether to detach SCO objects as wrapped.static voidSCOUtils.detachCopyForCollection(ExecutionContext ec, Object[] elements, FetchPlanState state, Collection detached) Convenience method to detach copies (recursively) of all elements for a collection field.static voidSCOUtils.detachCopyForMap(ExecutionContext ec, Set entries, FetchPlanState state, Map detached) Convenience method to detach copies (recursively) of all elements for a map field.static booleanSCOUtils.validateObjectForWriting(ExecutionContext ec, Object object, FieldValues fieldValues) Method to check if an object to be stored in a SCO container is already persistent, or is managed by a different ExecutionContext. -
Uses of ExecutionContext in org.datanucleus.transaction
Fields in org.datanucleus.transaction declared as ExecutionContextFields in org.datanucleus.transaction with type parameters of type ExecutionContextModifier and TypeFieldDescriptionprivate Map<ExecutionContext, ResourcedTransaction> ResourcedTransactionManager.txnForExecutionContextMap of transaction keyed by the ExecutionContext that it is for.Methods in org.datanucleus.transaction with parameters of type ExecutionContextModifier and TypeMethodDescriptionvoidResourcedTransactionManager.begin(ExecutionContext ec) voidResourcedTransactionManager.commit(ExecutionContext ec) ResourcedTransactionManager.getTransaction(ExecutionContext ec) voidResourcedTransactionManager.resume(ExecutionContext ec, ResourcedTransaction tx) voidResourcedTransactionManager.rollback(ExecutionContext ec) voidResourcedTransactionManager.setRollbackOnly(ExecutionContext ec) voidResourcedTransactionManager.setTransactionTimeout(ExecutionContext ec, int millis) ResourcedTransactionManager.suspend(ExecutionContext ec) Constructors in org.datanucleus.transaction with parameters of type ExecutionContextModifierConstructorDescriptionTransactionImpl(ExecutionContext ec, PropertyStore properties) Constructor for a transaction for the specified ExecutionContext. -
Uses of ExecutionContext in org.datanucleus.transaction.jta
Constructors in org.datanucleus.transaction.jta with parameters of type ExecutionContextModifierConstructorDescriptionJTAJCATransactionImpl(ExecutionContext ec, PropertyStore properties) Constructor.JTATransactionImpl(ExecutionContext ec, boolean autoJoin, PropertyStore properties) Constructor.