net.java.dev.moskito.core.producers
Class AbstractStatsProducer
java.lang.Object
net.java.dev.moskito.core.producers.AbstractStatsProducer
- All Implemented Interfaces:
- IStatsProducer
public abstract class AbstractStatsProducer
- extends Object
- implements IStatsProducer
This abstract class is the super class of all IStats factories.
- Author:
- dvayanu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CATEGORY
protected static final String DEFAULT_CATEGORY
- The name of the default category.
- See Also:
- Constant Field Values
DEFAULT_SUBSYSTEM
protected static final String DEFAULT_SUBSYSTEM
- The name of the default subsystem.
- See Also:
- Constant Field Values
AbstractStatsProducer
public AbstractStatsProducer()
getCategory
public String getCategory()
- Description copied from interface:
IStatsProducer
- Returns the category of this producer. A typical categorie is something like servlet, action,
service or dao. The categories are used to group different StatsProducer to get overview over
a certain layer in the application, i.e. show me all actions.
- Specified by:
getCategory in interface IStatsProducer
- Returns:
- the id of the category the producer belongs to.
- See Also:
IStatsProducer.getCategory()
getSubsystem
public String getSubsystem()
- Description copied from interface:
IStatsProducer
- Returns the subsystem the current producer is located in. Moskito referrs to your application
as "the system". If you want to filter some parts of your system separately you should use
the getSubsystem() method to separate them. Possible subsystems are: usermanagement,
messaging... whatever. The getCategory() method should separate parts of the application
horizontally, whether the getSubsystem() method should provide vertical separation.
- Specified by:
getSubsystem in interface IStatsProducer
- Returns:
- the id of the subsystem the producer belongs to.
- See Also:
IStatsProducer.getSubsystem()
Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework