提交 264f02d8 authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 2d968c4c
...@@ -18,7 +18,7 @@ Change Log ...@@ -18,7 +18,7 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>- <ul><li>MVStore: compress is now disabled by default, and can be enabled on request.
</li></ul> </li></ul>
<h2>Version 1.3.170 (2012-11-30)</h2> <h2>Version 1.3.170 (2012-11-30)</h2>
......
...@@ -342,6 +342,7 @@ The plan is to make the MVStore easier to use and faster than SQLite on Android ...@@ -342,6 +342,7 @@ The plan is to make the MVStore easier to use and faster than SQLite on Android
The API of the MVStore is similar to MapDB (previously known as JDBM) from Jan Kotek, The API of the MVStore is similar to MapDB (previously known as JDBM) from Jan Kotek,
and some code is shared between MapDB and JDBM. and some code is shared between MapDB and JDBM.
However, unlike MapDB, the MVStore uses is a log structured storage. However, unlike MapDB, the MVStore uses is a log structured storage.
The MVStore does not have a record size limit.
</p> </p>
<h2 id="current_state">Current State</h2> <h2 id="current_state">Current State</h2>
......
...@@ -60,6 +60,11 @@ public class StreamStore { ...@@ -60,6 +60,11 @@ public class StreamStore {
return nextKey.get(); return nextKey.get();
} }
/**
* Set the minimum block size. The default is 256 bytes.
*
* @param minBlockSize the new value
*/
public void setMinBlockSize(int minBlockSize) { public void setMinBlockSize(int minBlockSize) {
this.minBlockSize = minBlockSize; this.minBlockSize = minBlockSize;
} }
...@@ -68,6 +73,11 @@ public class StreamStore { ...@@ -68,6 +73,11 @@ public class StreamStore {
return minBlockSize; return minBlockSize;
} }
/**
* Set the maximum block size. The default is 256 KB.
*
* @param maxBlockSize the new value
*/
public void setMaxBlockSize(int maxBlockSize) { public void setMaxBlockSize(int maxBlockSize) {
this.maxBlockSize = maxBlockSize; this.maxBlockSize = maxBlockSize;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论