LoggingArgs { public static TableReference safeTableOrPlaceholder(TableReference tableReference) { if (logArbitrator.isTableReferenceSafe(tableReference)) { return tableReference; } else { return PLACEHOLDER_TABLE_REFERENCE; } } private  LoggingArgs(); static synchronized void hydrate(Map<TableReference, byte[]> tableRefToMetadata); static synchronized void combineAndSetNewAllSafeForLoggingFlag(
            boolean isNewKeyValueServiceAllSafeForLogging); static Arg<String> internalTableName(TableReference tableReference); static SafeAndUnsafeTableReferences tableRefs(Collection<TableReference> tableReferences); static Iterable<TableReference> safeTablesOrPlaceholder(Collection<TableReference> tables); static Arg<String> tableRef(TableReference tableReference); static boolean isSafe(TableReference tableReference); static TableReference safeTableOrPlaceholder(TableReference tableReference); static String safeInternalTableNameOrPlaceholder(String internalTableReference); static Arg<String> safeInternalTableName(String internalTableReference); static Arg<String> tableRef(String argName, TableReference tableReference); static Arg<String> customTableName(TableReference tableReference, String tableName); static Arg<Long> durationMillis(Stopwatch stopwatch); static Arg<Long> startTimeMillis(long startTime); static Arg<String> method(String method); static Arg<Integer> cellCount(int cellCount); static Arg<Integer> tableCount(int tableCount); static Arg<Integer> keyCount(int keyCount); static Arg<Integer> rowCount(int rowCount); static Arg<Long> sizeInBytes(long sizeInBytes); static Arg<?> columnCount(ColumnSelection columnSelection); static Arg<?> columnCount(int numberOfColumns); static Arg<Integer> batchHint(int batchHint); static Arg<RangeRequest> range(TableReference tableReference, RangeRequest range); static Arg<BatchColumnRangeSelection> batchColumnRangeSelection(
            BatchColumnRangeSelection batchColumnRangeSelection); static Arg<ColumnRangeSelection> columnRangeSelection(ColumnRangeSelection columnRangeSelection); @VisibleForTesting
    static final TableReference PLACEHOLDER_TABLE_REFERENCE; }
@Test public void returnsSafeTableWhenTableIsSafe() { assertThat(LoggingArgs.safeTableOrPlaceholder(SAFE_TABLE_REFERENCE)).isEqualTo(SAFE_TABLE_REFERENCE); }
@Test public void returnsPlaceholderWhenTableIsUnsafe() { assertThat(LoggingArgs.safeTableOrPlaceholder(UNSAFE_TABLE_REFERENCE)) .isEqualTo(LoggingArgs.PLACEHOLDER_TABLE_REFERENCE); }