提交 f7945f90 authored 作者: Thomas Mueller's avatar Thomas Mueller

MVStore: move background exception listener and page size to the builder

上级 9a59916c
...@@ -174,8 +174,7 @@ public class TestConcurrent extends TestMVStore { ...@@ -174,8 +174,7 @@ public class TestConcurrent extends TestMVStore {
} }
private void testConcurrentIterate() { private void testConcurrentIterate() {
MVStore s = new MVStore.Builder().open(); MVStore s = new MVStore.Builder().pageSize(3).open();
s.setPageSize(3);
final MVMap<Integer, Integer> map = s.openMap("test"); final MVMap<Integer, Integer> map = s.openMap("test");
final int len = 10; final int len = 10;
final Random r = new Random(); final Random r = new Random();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论