|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Repository
A Repository contains all the monitors used by the application and provides a centralized way to acces them. A monitor is defined in the repository by the pair category + name.
Categories are used to group monitors that handle comparable resources. For
example a jdbc category will group all Monitor
s
that instrument the data acces layer. The category can have sub-categories
using a dot notation. For example, the jdbc.procedures category
can group data acces layer monitors dedicated to invocation of stored
procedures.
Method Summary | |
---|---|
PluginManager |
getFeatureManager()
|
Monitor |
getMonitor(java.lang.String name)
|
java.util.Collection<Monitor> |
getMonitors()
|
java.util.Collection<Monitor> |
getMonitorsWithFeatures(java.lang.Class[] features)
|
java.util.Collection<Monitor> |
getMonitorsWithTag(java.lang.String tag)
|
java.util.Collection<Monitor> |
getMonitorsWithTags(java.lang.String[] tags)
|
java.util.Set<java.lang.String> |
getTags()
|
void |
setFeatureManager(PluginManager featureManager)
Register a custom featureManager |
Method Detail |
---|
Monitor getMonitor(java.lang.String name)
name
- monitor name
java.util.Collection<Monitor> getMonitorsWithTag(java.lang.String tag)
tag
- tag
java.util.Set<java.lang.String> getTags()
java.util.Collection<Monitor> getMonitorsWithTags(java.lang.String[] tags)
tags
- the tags the returned monitor must have
java.util.Collection<Monitor> getMonitors()
java.util.Collection<Monitor> getMonitorsWithFeatures(java.lang.Class[] features)
void setFeatureManager(PluginManager featureManager)
featureManager
- PluginManager getFeatureManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |