|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstrumentationService
Component interface for retrieving sample information from the InstrumentManager.
Field Summary | |
---|---|
static String |
ROLE
Component ROLE name |
Method Summary | |
---|---|
String[] |
getSampleNames()
Obtains an array of instrumentable sample names |
int[] |
getSampleSnapshot(String path)
Obtain an array of samples from a specified sample name. |
Methods inherited from interface org.apache.excalibur.instrument.InstrumentManageable |
---|
setInstrumentManager |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
int[] getSampleSnapshot(String path) throws Exception
The specified path parameter identifies a sample, hierarchically from Instrumentable name to Instrument name, to Instrument sample name (including any child Instrumentables) using the '.' character as a separator.
eg: instrument-manager.active-thread-count.maximum_1000_600
The above example identifies the sample 'maximum_1000_600' on instrument 'active-thread-count', on instrumentable 'instrument-manager'.
The length of the returned array is dependant on the configuration of the sample being accessed. Check instrumentation.xconf for the length of pre- defined samples that operate constantly, when instrumentation is enabled.
path
- path value
int[]
array of samples
Exception
- if an error occursString[] getSampleNames()
String
[] array of sample names
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |