adds a node, setting this.
adds a node, setting this.dirty to true as a side effect
removes a tree, setting this.
removes a tree, setting this.dirty to true as a side effect
returns an iterator over the nodes in this storage
returns an iterator over the nodes in this storage
forces writing of contents to the file, even if there has not been any update.
This method should log the message given as argument somewhere as a side-effect.
This method should log the message given as argument somewhere as a side-effect.
message to be logged
run method of the thread.
run method of the thread. remember to use start() to start a thread, not run.
Creates a String representation of this object.
Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.
a String representation of the object.
see corresponding Javadoc for more information.
see corresponding Javadoc for more information.
see corresponding Javadoc for more information.
see corresponding Javadoc for more information.
see corresponding Javadoc for more information.
see corresponding Javadoc for more information.
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.