Package

scala.xml

persistent

Permalink

package persistent

Visibility
  1. Public
  2. All

Type Members

  1. abstract class CachedFileStorage extends Thread

    Permalink

    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.

  2. abstract class Index[A] extends (Node) ⇒ A

    Permalink

    an Index returns some unique key that is part of a node

  3. class SetStorage extends CachedFileStorage

    Permalink

    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.

Ungrouped