@Test public void testDisableTracing() throws Exception { statement.enableTracing(); assertTrue(statement.isTracing()); StatementOptionsBuilder.disableTracing().build().applyTo(statement); assertFalse(statement.isTracing()); }
public static StatementOptionsBuilder disableTracing() { return new StatementOptionsBuilder().withDisableTracing(); }
StatementOptionsBuilder { public static StatementOptionsBuilder disableTracing() { return new StatementOptionsBuilder().withDisableTracing(); } }
StatementOptionsBuilder { public static StatementOptionsBuilder disableTracing() { return new StatementOptionsBuilder().withDisableTracing(); } StatementOptionsBuilder(); }
StatementOptionsBuilder { public static StatementOptionsBuilder disableTracing() { return new StatementOptionsBuilder().withDisableTracing(); } StatementOptionsBuilder(); static StatementOptionsBuilder consistencyLevel(ConsistencyLevel level); static StatementOptionsBuilder defaultTimestamp(long timestamp); static StatementOptionsBuilder disableTracing(); static StatementOptions empty(); static StatementOptionsBuilder enableTracing(); static StatementOptionsBuilder fetchSize(int size); static StatementOptionsBuilder retryPolicy(RetryPolicy policy); static StatementOptionsBuilder serialConsistencyLevel(ConsistencyLevel level); StatementOptions build(); StatementOptionsBuilder withConsistencyLevel(ConsistencyLevel level); }
StatementOptionsBuilder { public static StatementOptionsBuilder disableTracing() { return new StatementOptionsBuilder().withDisableTracing(); } StatementOptionsBuilder(); static StatementOptionsBuilder consistencyLevel(ConsistencyLevel level); static StatementOptionsBuilder defaultTimestamp(long timestamp); static StatementOptionsBuilder disableTracing(); static StatementOptions empty(); static StatementOptionsBuilder enableTracing(); static StatementOptionsBuilder fetchSize(int size); static StatementOptionsBuilder retryPolicy(RetryPolicy policy); static StatementOptionsBuilder serialConsistencyLevel(ConsistencyLevel level); StatementOptions build(); StatementOptionsBuilder withConsistencyLevel(ConsistencyLevel level);  }