jet.server.api.profiling
Interface CollectingAgency


public interface CollectingAgency

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


Method Summary
 void collects(java.util.Hashtable data)
          The source class use this method sends it runtime information to 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 the 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 includes 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 the CollectingAgency is alive.

Returns:

collects

void collects(java.util.Hashtable data)
The source class use this method sends it runtime information to collecting agency.

Those runtime information are collected in a Hashtable.

Parameters:
data - Hashtable