.getTransactionRollbackTime()) { locksToRecover = locks; stats.incrementTimedOutLocks(locksToRecover.size());
.getTransactionRollbackTime()) { locksToRecover = locks; stats.incrementTimedOutLocks(locksToRecover.size());
public void validate() { // keep in alphabetical order getAccumuloInstance(); getAccumuloPassword(); getAccumuloTable(); getAccumuloUser(); getAccumuloZookeepers(); getApplicationName(); getAppZookeepers(); getConnectionRetryTimeout(); getLoaderQueueSize(); getLoaderThreads(); getObserverSpecifications(); getTransactionRollbackTime(); getWorkerThreads(); getZookeeperTimeout(); }
public void validate() { // keep in alphabetical order getAccumuloInstance(); getAccumuloPassword(); getAccumuloTable(); getAccumuloUser(); getAccumuloZookeepers(); getApplicationName(); getAppZookeepers(); getConnectionRetryTimeout(); getLoaderQueueSize(); getLoaderThreads(); getObserverSpecifications(); getTransactionRollbackTime(); getWorkerThreads(); getZookeeperTimeout(); }
@Test public void testBasic() { try (FluoClient client = FluoFactory.newClient(config)) { client.newSnapshot(); } FluoConfiguration fluoConfig = new FluoConfiguration(); fluoConfig.setApplicationName(config.getApplicationName()); fluoConfig.setInstanceZookeepers(config.getInstanceZookeepers()); try (FluoClient client = FluoFactory.newClient(fluoConfig)) { client.newSnapshot(); } try (FluoClientImpl client = new FluoClientImpl(fluoConfig)) { client.newSnapshot(); FluoConfiguration sharedConfig = client.getSharedConfiguration(); Assert.assertEquals(config.getAccumuloTable(), sharedConfig.getAccumuloTable()); Assert.assertEquals(config.getAccumuloInstance(), sharedConfig.getAccumuloInstance()); Assert.assertEquals(config.getAccumuloUser(), sharedConfig.getAccumuloUser()); Assert.assertEquals(config.getZookeeperTimeout(), sharedConfig.getZookeeperTimeout()); Assert.assertEquals(config.getTransactionRollbackTime(), sharedConfig.getTransactionRollbackTime()); } }