![]() |
All Packages This Package Class Hierarchy Class Search Index Class grendel.storage.intertwingle.HackDBjava.lang.Object | +----grendel.storage.intertwingle.BaseDB | +----grendel.storage.intertwingle.HackDB This is a completely wretched thing that implements a RDF-ish database. It works by generating zillions of tiny files. We should never ever really use this; it's just for playing. If we actually ever do ship this, I will be forced to spend the rest of my life hunting down every copy on every machine in the world and eradicating it.
final class HackDB
extends grendel.storage.intertwingle.BaseDB
{
// Fields 4
private Hashtable reverseslotdirs;
private Hashtable slotdirs;
private File tmpfile;
private File top;
// Constructors 1
HackDB(File) throws IOException;
// Methods 8
public synchronized void assert(String, String, String) throws IOException;
private void ensureDirectory(File) throws IOException;
public Enumeration findAll(String, String, boolean) throws IOException;
public synchronized String findFirst(String, String, boolean) throws IOException;
private File findSlotFile(String, boolean) throws IOException;
private void nukeone(File, String, String) throws IOException;
private void putone(File, String, String) throws IOException;
public synchronized void unassert(String, String, String) throws IOException;
}
Fields topprivate File top tmpfileprivate File tmpfile slotdirsprivate Hashtable slotdirs reverseslotdirsprivate Hashtable reverseslotdirs
Constructors HackDBHackDB(File f) throws IOException Methods ensureDirectoryprivate void ensureDirectory(File f) throws IOException findSlotFileprivate File findSlotFile(String name, boolean reverse) throws IOException putoneprivate void putone(File dir, String name, String value) throws IOException nukeoneprivate void nukeone(File dir, String name, String value) throws IOException assertpublic synchronized void assert(String name, String slot, String value) throws IOException unassertpublic synchronized void unassert(String name, String slot, String value) throws IOException findFirstpublic synchronized String findFirst(String name, String slot, boolean reverse) throws IOException findAllpublic Enumeration findAll(String name, String slot, boolean reverse) throws IOException All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4 |
|
|
Copyright © 1998-1999 The Mozilla Organization.
Last modified December 25, 1998. |
|