ReadOptions { public ReadOptions threadPoolSize(int size) { Preconditions.checkArgument(size > 0); this.threadPoolSize = size; return this; }  static ReadOptions defaultOptions(); ReadOptions threadPoolSize(int size); ReadOptions selectedColumns(String... columnNames); ReadOptions selectedColumns(List<String> columnNames); List<String> getSelectedColumns(); int getThreadPoolSize();  }
@Test void threadPoolSize() { ReadOptions options = new ReadOptions().threadPoolSize(10001); assertEquals(10001, options.getThreadPoolSize()); }