All Packages Class Hierarchy This Package Previous Next Index
Class key.Registry
java.lang.Object
|
+----key.Atom
|
+----key.Container
|
+----key.Registry
- public class Registry
- extends Container
Change so that loadFrom & writeTo don't write contents
-
Registry()
-
-
Registry(File)
-
-
addInternal(Atom)
- Internal routine so overloading add()'s don't get confused
-
fullResolve()
- The fullResolve() is a pretty nifty concept, _when_
you actually want to resolve *everything* in a
container.
-
getPath()
-
-
loadFrom(DataInput)
-
-
readContents(DataInput)
- Overridden to do nothing; contents not written to disk in
a registry.
-
removeInternal(Atom)
-
-
resolve()
- This completely overrides super.resolve(), which is called
from fullResolve() when that happens.
-
sync()
- Ensures everything on-disk is up to date with
the memory contents
-
writeContents(DataOutput)
- Overridden to do nothing; contents not written to disk in
a registry.
-
writeTo(DataOutput)
-
Registry
public Registry(File basePath)
Registry
public Registry()
resolve
public synchronized void resolve()
- This completely overrides super.resolve(), which is called
from fullResolve() when that happens.
- Overrides:
- resolve in class Container
fullResolve
public void fullResolve()
- The fullResolve() is a pretty nifty concept, _when_
you actually want to resolve *everything* in a
container. Oh.. yes please. All 7000 residents. ;)
- Overrides:
- fullResolve in class Container
removeInternal
protected void removeInternal(Atom removed) throws NonUniqueKeyException, NoSuchElementException, BadKeyException
- Overrides:
- removeInternal in class Container
addInternal
protected void addInternal(Atom a) throws BadKeyException, NonUniqueKeyException
- Internal routine so overloading add()'s don't get confused
- Overrides:
- addInternal in class Container
sync
public void sync()
- Ensures everything on-disk is up to date with
the memory contents
- Overrides:
- sync in class Atom
getPath
public final File getPath()
loadFrom
public void loadFrom(DataInput from) throws IOException
- Overrides:
- loadFrom in class Container
writeTo
public void writeTo(DataOutput to) throws IOException
- Overrides:
- writeTo in class Container
readContents
protected void readContents(DataInput from) throws IOException
- Overridden to do nothing; contents not written to disk in
a registry.
- Overrides:
- readContents in class Container
writeContents
protected void writeContents(DataOutput to) throws IOException
- Overridden to do nothing; contents not written to disk in
a registry.
- Overrides:
- writeContents in class Container
All Packages Class Hierarchy This Package Previous Next Index