Package org.apache.openjpa.kernel
Interface ConnectionRetainModes
-
- All Known Subinterfaces:
Broker
,DistributedBroker
- All Known Implementing Classes:
BrokerImpl
,DelegatingBroker
,DistributedBrokerImpl
,FinalizingBrokerImpl
public interface ConnectionRetainModes
Connection retain mode constants.- Since:
- 0.4.0
- Author:
- Abe White
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONN_RETAIN_ALWAYS
Constant indicating that each broker will retain a single connection that it will use for its lifespan.static int
CONN_RETAIN_DEMAND
Constant indicating that connections will be obtained as needed.static int
CONN_RETAIN_TRANS
Constant indicating that connections will be retained for the life of each transaction.
-
-
-
Field Detail
-
CONN_RETAIN_DEMAND
static final int CONN_RETAIN_DEMAND
Constant indicating that connections will be obtained as needed.- See Also:
- Constant Field Values
-
CONN_RETAIN_TRANS
static final int CONN_RETAIN_TRANS
Constant indicating that connections will be retained for the life of each transaction.- See Also:
- Constant Field Values
-
CONN_RETAIN_ALWAYS
static final int CONN_RETAIN_ALWAYS
Constant indicating that each broker will retain a single connection that it will use for its lifespan.- See Also:
- Constant Field Values
-
-