@Test void moveBatchSizeShouldThrowWhenZero() { assertThatThrownBy(() -> BatchSizes.builder() .moveBatchSize(0)) .isInstanceOf(IllegalArgumentException.class); }
public static Builder builder() { return new Builder(); }
BatchSizes { public static Builder builder() { return new Builder(); } }
BatchSizes { public static Builder builder() { return new Builder(); } private  BatchSizes(int fetchMetadata, int fetchHeaders, int fetchBody, int fetchFull, Optional<Integer> copyBatchSize, Optional<Integer> moveBatchSize); }
BatchSizes { public static Builder builder() { return new Builder(); } private  BatchSizes(int fetchMetadata, int fetchHeaders, int fetchBody, int fetchFull, Optional<Integer> copyBatchSize, Optional<Integer> moveBatchSize); static BatchSizes defaultValues(); static BatchSizes uniqueBatchSize(int batchSize); static Builder builder(); int getFetchMetadata(); int getFetchHeaders(); int getFetchBody(); int getFetchFull(); Optional<Integer> getCopyBatchSize(); Optional<Integer> getMoveBatchSize(); @Override final boolean equals(Object obj); @Override final int hashCode(); @Override String toString(); }
BatchSizes { public static Builder builder() { return new Builder(); } private  BatchSizes(int fetchMetadata, int fetchHeaders, int fetchBody, int fetchFull, Optional<Integer> copyBatchSize, Optional<Integer> moveBatchSize); static BatchSizes defaultValues(); static BatchSizes uniqueBatchSize(int batchSize); static Builder builder(); int getFetchMetadata(); int getFetchHeaders(); int getFetchBody(); int getFetchFull(); Optional<Integer> getCopyBatchSize(); Optional<Integer> getMoveBatchSize(); @Override final boolean equals(Object obj); @Override final int hashCode(); @Override String toString(); static final int DEFAULT_BATCH_SIZE; }