@Test public void testWhenRetriesAreDisabled() throws IOException { configuration.setBoolean(ENABLE_GRPC_RETRIES_KEY, false); BigtableDataSettings dataSettings = ((BigtableHBaseVeneerSettings) BigtableHBaseVeneerSettings.create(configuration)) .getDataSettings(); assertTrue( dataSettings.getStubSettings().bulkMutateRowsSettings().getRetryableCodes().isEmpty()); assertTrue(dataSettings.getStubSettings().readRowSettings().getRetryableCodes().isEmpty()); assertTrue(dataSettings.getStubSettings().readRowsSettings().getRetryableCodes().isEmpty()); assertTrue( dataSettings.getStubSettings().sampleRowKeysSettings().getRetryableCodes().isEmpty()); }
public BigtableDataSettings getDataSettings() { return dataSettings; }
BigtableHBaseVeneerSettings extends BigtableHBaseSettings { public BigtableDataSettings getDataSettings() { return dataSettings; } }
BigtableHBaseVeneerSettings extends BigtableHBaseSettings { public BigtableDataSettings getDataSettings() { return dataSettings; } BigtableHBaseVeneerSettings(Configuration configuration); }
BigtableHBaseVeneerSettings extends BigtableHBaseSettings { public BigtableDataSettings getDataSettings() { return dataSettings; } BigtableHBaseVeneerSettings(Configuration configuration); @Override String getDataHost(); @Override String getAdminHost(); @Override int getPort(); @Override int getBulkMaxRowCount(); @Override long getBatchingMaxRequestSize(); @Override boolean isRetriesWithoutTimestampAllowed(); boolean isChannelPoolCachingEnabled(); BigtableDataSettings getDataSettings(); BigtableTableAdminSettings getTableAdminSettings(); @Nullable BigtableInstanceAdminSettings getInstanceAdminSettings(); }
BigtableHBaseVeneerSettings extends BigtableHBaseSettings { public BigtableDataSettings getDataSettings() { return dataSettings; } BigtableHBaseVeneerSettings(Configuration configuration); @Override String getDataHost(); @Override String getAdminHost(); @Override int getPort(); @Override int getBulkMaxRowCount(); @Override long getBatchingMaxRequestSize(); @Override boolean isRetriesWithoutTimestampAllowed(); boolean isChannelPoolCachingEnabled(); BigtableDataSettings getDataSettings(); BigtableTableAdminSettings getTableAdminSettings(); @Nullable BigtableInstanceAdminSettings getInstanceAdminSettings();  }