Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.util.profiling
Class Databank

    java.lang.Object
      avrora.util.profiling.Databank

public class Databank
extends java.lang.Object

The Databank class is a static class that collects Database objects and generates a report on all of them when the report() method is called.

Constructor Summary
`Databank()`

Method Summary
`static void` | `dispatchVisitors()` Dispatch all visitors onto databases
`static void` | `freeze()` Freeze all the databases.
`static void` | `registerDatabase(Database d)` Register a database with the databank
`static void` | `registerVisitor(DatabaseVisitor v)` Register a database with the databank
`static void` | `textReport()` Generate a textual report of the databases.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Databank

    public Databank()

Method Detail

### registerDatabase

    public static void registerDatabase(Database d)

  Register a database with the databank

  Parameters:
    `d` - - the database object to register

### registerVisitor

    public static void registerVisitor(DatabaseVisitor v)

  Register a database with the databank

  Parameters:
    `v` - - the visitor object to register

### textReport

    public static void textReport()

  Generate a textual report of the databases.

### dispatchVisitors

    public static void dispatchVisitors()

  Dispatch all visitors onto databases

### freeze

    public static void freeze()

  Freeze all the databases.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD