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

## jet.server.api.profiling
Interface CollectingAgency

    public interface CollectingAgency

A `CollectingAgency` is a collecting agency that collects a specified class's runtime information.

Method Summary
`void` | `collects(java.util.Hashtable data)` The source class uses this method to send runtime information to the collecting agency.
`void` | `destroy()` Offers an opportunity to release the collecting agency's resource.
`void` | `init(java.util.Properties prop)` Offers an opportunity to initialize the collecting agency.
`boolean` | `isAlive()` Tests whether this CollectingAgency is alive.

Method Detail

### init

    void init(java.util.Properties prop)

  Offers an opportunity to initialize the collecting agency.

  In general, the initialization parameters must include `ENV_INSTALLS_HOME` and `ENV_REGISTRY_PORT`.

  Parameters:
    `prop` - some initialization parameters.

### destroy

    void destroy()

  Offers an opportunity to release the collecting agency's resource.

### isAlive

    boolean isAlive()

  Tests whether this CollectingAgency is alive.

  Returns:
    true if this CollectingAgency is alive, otherwise return false.

### collects

    void collects(java.util.Hashtable data)

  The source class uses this method to send runtime information to the collecting agency.

  Those runtime information are collected in a `Hashtable`.

  Parameters:
    `data` - `Hashtable`

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