Uses of Interface
org.datanucleus.store.connection.ManagedConnection
Packages that use ManagedConnection
Package
Description
Package defining the connection to the datastore.
Package providing management for federation of datastores.
Value Generation.
-
Uses of ManagedConnection in org.datanucleus.store.connection
Classes in org.datanucleus.store.connection that implement ManagedConnectionModifier and TypeClassDescriptionclassAbstract implementation of a managed connection.Fields in org.datanucleus.store.connection declared as ManagedConnectionModifier and TypeFieldDescriptionprotected final ManagedConnectionAbstractEmulatedXAResource.mconnFields in org.datanucleus.store.connection with type parameters of type ManagedConnectionModifier 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 that return ManagedConnectionModifier and TypeMethodDescriptionprivate ManagedConnectionConnectionManagerImpl.allocateManagedConnection(boolean primary, ExecutionContext ec, Transaction transaction, Map options) Method to return a ManagedConnection for this ExecutionContext.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.ConnectionManager.getConnection(int isolationLevel) Accessor for a connection for the specified transaction isolation level.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(int isolationLevel) ConnectionManagerImpl.getConnection(ExecutionContext ec, Map options) protected ManagedConnectionConnectionManagerImpl.getManagedConnection(boolean primary, ExecutionContext ec) Get a ManagedConnection from the cache.Methods in org.datanucleus.store.connection with parameters of type ManagedConnectionModifier and TypeMethodDescriptionprivate voidConnectionManagerImpl.configureTransactionEventListener(Transaction transaction, ManagedConnection mconn) Configure a TransactionEventListener that closes the managed connection when a transaction commits or rolls backprotected voidConnectionManagerImpl.putManagedConnection(boolean primary, ExecutionContext ec, ManagedConnection mconn) Put a ManagedConnection into the cache.Constructors in org.datanucleus.store.connection with parameters of type ManagedConnection -
Uses of ManagedConnection in org.datanucleus.store.federation
Methods in org.datanucleus.store.federation that return ManagedConnectionModifier and TypeMethodDescriptionFederatedStoreManager.getConnection(int isolation_level) FederatedStoreManager.getConnection(ExecutionContext ec) FederatedStoreManager.getConnection(ExecutionContext ec, Map options) -
Uses of ManagedConnection in org.datanucleus.store.valuegenerator
Methods in org.datanucleus.store.valuegenerator that return ManagedConnectionModifier and TypeMethodDescriptionValueGenerationConnectionProvider.retrieveConnection()Provides a Connection for a ValueGenerator.