public static boolean registerConnectionManager ( HttpClientConnectionManager connectionManager , long maxIdleInMs ) { if ( instance == null ) { synchronized ( IdleConnectionReaper . class ) { if ( instance == null ) { instance = new IdleConnectionReaper ( ) ; instance . start ( ) ; } } } return connectionManagers . put ( connectionManager , maxIdleInMs ) == null ; }
Registers the given connection manager with this reaper ;