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


Constructor Index

 o Registry()
 o Registry(File)

Method Index

 o addInternal(Atom)
Internal routine so overloading add()'s don't get confused
 o fullResolve()
The fullResolve() is a pretty nifty concept, _when_ you actually want to resolve *everything* in a container.
 o getPath()
 o loadFrom(DataInput)
 o readContents(DataInput)
Overridden to do nothing; contents not written to disk in a registry.
 o removeInternal(Atom)
 o resolve()
This completely overrides super.resolve(), which is called from fullResolve() when that happens.
 o sync()
Ensures everything on-disk is up to date with the memory contents
 o writeContents(DataOutput)
Overridden to do nothing; contents not written to disk in a registry.
 o writeTo(DataOutput)

Constructors

 o Registry
 public Registry(File basePath)
 o Registry
 public Registry()

Methods

 o resolve
 public synchronized void resolve()
This completely overrides super.resolve(), which is called from fullResolve() when that happens.

Overrides:
resolve in class Container
 o 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
 o removeInternal
 protected void removeInternal(Atom removed) throws NonUniqueKeyException, NoSuchElementException, BadKeyException
Overrides:
removeInternal in class Container
 o addInternal
 protected void addInternal(Atom a) throws BadKeyException, NonUniqueKeyException
Internal routine so overloading add()'s don't get confused

Overrides:
addInternal in class Container
 o sync
 public void sync()
Ensures everything on-disk is up to date with the memory contents

Overrides:
sync in class Atom
 o getPath
 public final File getPath()
 o loadFrom
 public void loadFrom(DataInput from) throws IOException
Overrides:
loadFrom in class Container
 o writeTo
 public void writeTo(DataOutput to) throws IOException
Overrides:
writeTo in class Container
 o 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
 o 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