|
Sonic Management API | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMetricIdentity
Individual metrics are identified as leaves in a tree. A metric identity identifies one of the following:
- a branch of a tree of related metrics (node) - a metric group (node) - an individual metric (leaf)Each node/leaf in a metric tree has a name component (a string) and is fully described by an array of name components that describe its path in the tree starting from the root. A canonical form of the name components is evaluated by creating a '.' delimited list of those name components (however the canonical form cannot be reduced to the original name components as an individual name component is allowed to contain the '.' character).
A metric tree may be as small as a single node.
Field Summary | |
---|---|
static IMetricIdentity[] |
EMPTY_METRIC_IDENTITY_ARRAY
|
Method Summary | |
---|---|
java.lang.String |
getAbsoluteName()
Get the absolute name of the metric identity where by each name component is delimited by a period '.' character. |
java.lang.String |
getName()
Get the canonical name of the metric identity where by each name component is delimited by a period '.' character. |
java.lang.String[] |
getNameComponents()
Get the name components the uniquely identify the metric identity. |
boolean |
isInstanceOf(IMetricIdentity id)
Tests if this metric is an instance of the given metric identity (branch of a tree of metrics or metric group). |
Field Detail |
---|
static final IMetricIdentity[] EMPTY_METRIC_IDENTITY_ARRAY
Method Detail |
---|
java.lang.String getAbsoluteName()
getName()
java.lang.String getName()
Note: The return value from this method should not be used to create a new metric identity instance (using the MetricsFactory).
getAbsoluteName()
java.lang.String[] getNameComponents()
boolean isInstanceOf(IMetricIdentity id)
|
Sonic Management API | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |