@Test public void testSettingRetryOptions() throws IOException { configuration.set(BigtableOptionsFactory.ENABLE_GRPC_RETRIES_KEY, "false"); configuration.set(BigtableOptionsFactory.ENABLE_GRPC_RETRY_DEADLINEEXCEEDED_KEY, "false"); configuration.set(BigtableOptionsFactory.MAX_ELAPSED_BACKOFF_MILLIS_KEY, "111"); configuration.set(BigtableOptionsFactory.READ_PARTIAL_ROW_TIMEOUT_MS, "123"); BigtableOptions options = ((BigtableHBaseClassicSettings) BigtableHBaseSettings.create(configuration)) .getBigtableOptions(); RetryOptions retryOptions = options.getRetryOptions(); assertFalse(retryOptions.enableRetries()); assertFalse(retryOptions.retryOnDeadlineExceeded()); assertEquals(111, retryOptions.getMaxElapsedBackoffMillis()); assertEquals(123, retryOptions.getReadPartialRowTimeoutMillis()); }
public BigtableOptions getBigtableOptions() { return bigtableOptions; }
BigtableHBaseClassicSettings extends BigtableHBaseSettings { public BigtableOptions getBigtableOptions() { return bigtableOptions; } }
BigtableHBaseClassicSettings extends BigtableHBaseSettings { public BigtableOptions getBigtableOptions() { return bigtableOptions; } BigtableHBaseClassicSettings(Configuration configuration); }
BigtableHBaseClassicSettings extends BigtableHBaseSettings { public BigtableOptions getBigtableOptions() { return bigtableOptions; } BigtableHBaseClassicSettings(Configuration configuration); @Override String getDataHost(); @Override String getAdminHost(); @Override int getPort(); @Override int getBulkMaxRowCount(); @Override long getBatchingMaxRequestSize(); @Override boolean isRetriesWithoutTimestampAllowed(); BigtableOptions getBigtableOptions(); }
BigtableHBaseClassicSettings extends BigtableHBaseSettings { public BigtableOptions getBigtableOptions() { return bigtableOptions; } BigtableHBaseClassicSettings(Configuration configuration); @Override String getDataHost(); @Override String getAdminHost(); @Override int getPort(); @Override int getBulkMaxRowCount(); @Override long getBatchingMaxRequestSize(); @Override boolean isRetriesWithoutTimestampAllowed(); BigtableOptions getBigtableOptions();  }