Uses of Interface
org.datanucleus.store.connection.ManagedConnection
-
Packages that use ManagedConnection Package Description org.datanucleus.store.connection Package defining the connection to the datastore.org.datanucleus.store.federation Package providing management for federation of datastores.org.datanucleus.store.valuegenerator Value Generation. -
-
Uses of ManagedConnection in org.datanucleus.store.connection
Classes in org.datanucleus.store.connection that implement ManagedConnection Modifier and Type Class Description classAbstractManagedConnectionAbstract implementation of a managed connection.Fields in org.datanucleus.store.connection declared as ManagedConnection Modifier and Type Field Description protected ManagedConnectionAbstractEmulatedXAResource. mconnFields in org.datanucleus.store.connection with type parameters of type ManagedConnection Modifier and Type Field Description (package private) java.util.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) java.util.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 ManagedConnection Modifier and Type Method Description private ManagedConnectionConnectionManagerImpl. allocateManagedConnection(boolean primary, ExecutionContext ec, Transaction transaction, java.util.Map options)Method to return a ManagedConnection for this ExecutionContext.ManagedConnectionConnectionFactory. createManagedConnection(ExecutionContext ec, java.util.Map<java.lang.String,java.lang.Object> transactionOptions)Create the ManagedConnection.ManagedConnectionConnectionManager. 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.ManagedConnectionConnectionManager. 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.ManagedConnectionConnectionManager. getConnection(ExecutionContext ec, java.util.Map options)Accessor for a connection for the specified ExecutionContext.ManagedConnectionConnectionManagerImpl. getConnection(boolean primary, ExecutionContext ec, Transaction txn)ManagedConnectionConnectionManagerImpl. getConnection(int isolationLevel)ManagedConnectionConnectionManagerImpl. getConnection(ExecutionContext ec, java.util.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 ManagedConnection Modifier and Type Method Description private 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 Constructor Description AbstractEmulatedXAResource(ManagedConnection mconn) -
Uses of ManagedConnection in org.datanucleus.store.federation
Methods in org.datanucleus.store.federation that return ManagedConnection Modifier and Type Method Description ManagedConnectionFederatedStoreManager. getConnection(int isolation_level)ManagedConnectionFederatedStoreManager. getConnection(ExecutionContext ec)ManagedConnectionFederatedStoreManager. getConnection(ExecutionContext ec, java.util.Map options) -
Uses of ManagedConnection in org.datanucleus.store.valuegenerator
Methods in org.datanucleus.store.valuegenerator that return ManagedConnection Modifier and Type Method Description ManagedConnectionValueGenerationConnectionProvider. retrieveConnection()Provides a Connection for a ValueGenerator.
-