|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PerfLevelSpec
interface is a 4.0 interface and will be supported in 5.0.
It is used to set/getInstrumentationLevel
Method Summary | |
---|---|
int |
comparePath(PerfLevelSpec otherDesc)
return 0 if exactly same |
int |
comparePath(java.lang.String[] otherPath)
return 0 if exactly same |
int |
getLevel()
get instrumentation level for the path |
java.lang.String |
getModuleName()
Get module name in the path |
java.lang.String[] |
getPath()
Get the path of the PerfLevelSpec. |
java.lang.String[] |
getShortPath()
Get the path without root "pmi" It should look like module.instance.... |
java.lang.String |
getSubmoduleName()
Get submodule name in the path |
boolean |
isSubPath(PerfLevelSpec otherDesc)
return true if it's path is a subpath of otherDesc |
boolean |
isSubPath(java.lang.String[] otherPath)
|
void |
setLevel(int level)
set instrumentation level for the path |
Method Detail |
public java.lang.String[] getPath()
public java.lang.String[] getShortPath()
public int comparePath(PerfLevelSpec otherDesc)
public int comparePath(java.lang.String[] otherPath)
public boolean isSubPath(PerfLevelSpec otherDesc)
public boolean isSubPath(java.lang.String[] otherPath)
public java.lang.String getModuleName()
public java.lang.String getSubmoduleName()
public int getLevel()
public void setLevel(int level)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |