@Test public void testGetConnection() { assertThat(processor.getConnection()).isEqualTo(connection); }
@Override public Connection getConnection() { final EtmPoint point = MONITOR.createPoint(getClass().getName() + ": getConnection()"); try { return pool.getConnection(product.getUsername(), product.getKeySalt(), product.getPrivateKey(), product.getServerAddress()); } finally { point.collect(); } }
KeyCryptoSftpProcessor extends JschSftpProcessor { @Override public Connection getConnection() { final EtmPoint point = MONITOR.createPoint(getClass().getName() + ": getConnection()"); try { return pool.getConnection(product.getUsername(), product.getKeySalt(), product.getPrivateKey(), product.getServerAddress()); } finally { point.collect(); } } }
KeyCryptoSftpProcessor extends JschSftpProcessor { @Override public Connection getConnection() { final EtmPoint point = MONITOR.createPoint(getClass().getName() + ": getConnection()"); try { return pool.getConnection(product.getUsername(), product.getKeySalt(), product.getPrivateKey(), product.getServerAddress()); } finally { point.collect(); } } KeyCryptoSftpProcessor(final KeyCryptoProduct product, final ConnectionPool pool); }
KeyCryptoSftpProcessor extends JschSftpProcessor { @Override public Connection getConnection() { final EtmPoint point = MONITOR.createPoint(getClass().getName() + ": getConnection()"); try { return pool.getConnection(product.getUsername(), product.getKeySalt(), product.getPrivateKey(), product.getServerAddress()); } finally { point.collect(); } } KeyCryptoSftpProcessor(final KeyCryptoProduct product, final ConnectionPool pool); @Override Connection getConnection(); }
KeyCryptoSftpProcessor extends JschSftpProcessor { @Override public Connection getConnection() { final EtmPoint point = MONITOR.createPoint(getClass().getName() + ": getConnection()"); try { return pool.getConnection(product.getUsername(), product.getKeySalt(), product.getPrivateKey(), product.getServerAddress()); } finally { point.collect(); } } KeyCryptoSftpProcessor(final KeyCryptoProduct product, final ConnectionPool pool); @Override Connection getConnection();  }