package persistent
Type Members
-
abstract
class
CachedFileStorage extends Thread
Mutable storage of immutable xml trees.
Mutable storage of immutable xml trees. Everything is kept in memory, with a thread periodically checking for changes and writing to file.
To ensure atomicity, two files are used,
filename1
and'$'+filename1
. The implementation switches between the two, deleting the older one after a complete dump of the database has been written. -
abstract
class
Index[A] extends (Node) ⇒ A
an Index returns some unique key that is part of a node
-
class
SetStorage extends CachedFileStorage
A persistent store with set semantics.
A persistent store with set semantics. This class allows to add and remove trees, but never contains two structurally equal trees.