throw new IllegalArgumentException("Buffer count must be positive");
}
this.restoreBufferCount = bufferCount;
}
public void setRestorePageSize(int pageSize) {
<BUG>if (pageSize != 1024 && pageSize != 2048
&& pageSize != 4096 && pageSize != 8192 && pageSize != 16384) {
throw new IllegalArgumentException(
"Page size must be one of 1024, 2048, 4096, 8192 or 16384");
</BUG>
}

throw new IllegalArgumentException("Buffer count must be positive");
}
this.restoreBufferCount = bufferCount;
}
public void setRestorePageSize(int pageSize) {
if (pageSize != PageSizeConstants.SIZE_1K && pageSize != PageSizeConstants.SIZE_2K
&& pageSize != PageSizeConstants.SIZE_4K && pageSize != PageSizeConstants.SIZE_8K
&& pageSize != PageSizeConstants.SIZE_16K && pageSize != PageSizeConstants.SIZE_32K) {
throw new IllegalArgumentException(
"Page size must be one of 1024, 2048, 4096, 8192, 16384 or 32768");
}
