TreePool V1.0.0
TreePool project home page
TreePool is a persistent collection paralleling Java TreeSet and TreeMap.
An important transitional technology to bridge the gap between disk-based and in-memory stores.
In the future, there may be no difference between main memory and persistent storage and we may use large collections transparently. Currently, we must provide different levels of caching and a means to serialize object instances to persistent storage and maintain integrity in the event of persistent storage failure.
The TreePool can be used in much the same way as the TreeMap and TreeSet from the Java collections classes.
Features:
Embeddable, all Java persistent collections API. Uses JDK 1.4 java.nio package
Utilization of memory-mapped file IO or filesystem IO controllable by property file entry
Data consistency and integrity maintained by undo logging
Full 64 bit file pointers to transcend 2 gigabyte barriers
Multiple tablespaces for improved performance
B-Tree indexing of individual entries
Ability to use custom ClassLoaders for object resolution
Tunable tri-level cache architecture: In-memory object cache, page buffer pool, and memory-mapped file