All Superinterfaces:
OTreeInternal<K,V>
All Known Implementing Classes:
BTreeBonsaiGlobal, OSBTreeBonsaiLocal

public interface OSBTreeBonsai<K,V> extends OTreeInternal<K,V>
The tree that have similar structure to OSBTreeV1 and designed to store small entries.

The tree algorithm is the same as in OSBTreeV1, but it have tiny buckets.
The OReadCache could contain several buckets. That's why there is no huge resource consuming when you have lots of OSBTreeBonsai that contain only few records.

+--------------------------------------------------------------------------------------------+
| DISK CACHE PAGE |
|+---------------+ +---------------+ +---------------+ +---------------+ +---------------+ |
|| Bonsai Bucket | | Bonsai Bucket | | Bonsai Bucket | | Bonsai Bucket | | Bonsai Bucket |...|
|+---------------+ +---------------+ +---------------+ +---------------+ +---------------+ |
+--------------------------------------------------------------------------------------------+
Since:
1.7rc1
Author:
Artem Orobets (enisher-at-gmail.com)
  • Method Details