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 final int
    Constant indicating that each broker will retain a single connection that it will use for its lifespan.
    static final int
    Constant indicating that connections will be obtained as needed.
    static final int
    Constant indicating that connections will be retained for the life of each transaction.
  • Field Details

    • CONN_RETAIN_DEMAND

      static final int CONN_RETAIN_DEMAND
      Constant indicating that connections will be obtained as needed.
      See Also:
    • CONN_RETAIN_TRANS

      static final int CONN_RETAIN_TRANS
      Constant indicating that connections will be retained for the life of each transaction.
      See Also:
    • 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: