com.ibm.websphere.pmi.client
Interface PerfLevelSpec
- All Superinterfaces:
- java.io.Serializable
- public interface PerfLevelSpec
- extends java.io.Serializable
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 sameint comparePath(java.lang.String[] otherPath)
return 0 if exactly sameint getLevel()
get instrumentation level for the pathjava.lang.String getModuleName()
Get module name in the pathjava.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 pathboolean isSubPath(PerfLevelSpec otherDesc)
return true if it's path is a subpath of otherDescboolean isSubPath(java.lang.String[] otherPath)
void setLevel(int level)
set instrumentation level for the path
Method Detail getPath
public java.lang.String[] getPath()
- Get the path of the PerfLevelSpec. It has preleading root "pmi".
getShortPath
public java.lang.String[] getShortPath()
- Get the path without root "pmi" It should look like module.instance....
comparePath
public int comparePath(PerfLevelSpec otherDesc)
- return 0 if exactly same
comparePath
public int comparePath(java.lang.String[] otherPath)
- return 0 if exactly same
isSubPath
public boolean isSubPath(PerfLevelSpec otherDesc)
- return true if it's path is a subpath of otherDesc
isSubPath
public boolean isSubPath(java.lang.String[] otherPath)
getModuleName
public java.lang.String getModuleName()
- Get module name in the path
getSubmoduleName
public java.lang.String getSubmoduleName()
- Get submodule name in the path
getLevel
public int getLevel()
- get instrumentation level for the path
setLevel
public void setLevel(int level)
- set instrumentation level for the path
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.