public void removeConnection(String host,Integer port) throws ConnectionManagerException {
  connectionLock.lock();
  try {
    String hostAndPort=ConnectionManager.generateConnectionCacheKey(host,port);
    internalRemoveConnection(hostAndPort);
  }
  finally {
    connectionLock.unlock();
  }
}

public void removeConnection ( String host , Integer port ) throws ConnectionManagerException { connectionLock . lock ( ) ; try { String hostAndPort = ConnectionManager . generateConnectionCacheKey ( host , port ) ; internalRemoveConnection ( hostAndPort ) ; } finally { connectionLock . unlock ( ) ; } }
removes an existing connection for which indication monitoring is no longer desired .
