Class JRTConnectionPool

  • All Implemented Interfaces:
    ConnectionPool, AutoCloseable

    public class JRTConnectionPool
    extends Object
    implements ConnectionPool
    A pool of JRT connections to a config source (either a config server or a config proxy). The current connection is chosen randomly when calling switchConnection(Connection) (it will continue to use the same connection if there is only one source). The current connection is available with getCurrent().
    Author:
    Gunnar Gauslaa Bergem, hmusum