|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IProbeInfoObjectBase
This is the base interface for probe InfoObject.
| Method Summary | |
|---|---|
long |
getHealthProbeExecTime()
This method is used to retrieve the last execution time of the Health Probe. |
java.util.Map |
getInputParameters()
This method is used to retrieve the input parameters stored in the InfoObject. |
java.util.Map |
getInputProperties()
This method is used to retrieve the map of input properties stored in the InfoObject. |
boolean |
getIsConfigurable()
This method is used to retrieve the input parameters of the probe that are configurable. |
java.lang.String |
getProbeClassName()
This method is used to retrieve the class name of the probe. |
long |
getProbeExecTime()
This method is used to retrieve the probe execution time in seconds. |
java.lang.String |
getProbeResult()
This method is used to retrieve the probe result. |
long |
getTimeout()
This method is used to retrieve the timeout in seconds. |
java.lang.String |
getType()
This method is used to retrieve the type of the probe. |
IVirtualMetrics |
getVirtualMetrics()
This method is used to retrieve the Virtual Metrics. |
int |
getVMetricsValidity()
This method is used to retrieve the value in minutes which represents the validity of the Virtual Metrics. |
void |
setHealthProbeExecTime()
This method is used to set the current time in SI_HEALTHPROBE_EXECTIME. |
void |
setInputParameters(java.util.Map inputParam)
This method is used to set the input parameters. |
void |
setInputProperties(java.util.Map inputProps)
This method is used to set the input properties in the InfoObject. |
void |
setInputPropertyBag(PropertyBag bag)
This method is used to set the input properties on probe InfoObject. |
void |
setIntialized(boolean isInit)
This method is used to set the initialized flag. |
void |
setIsConfigurable(boolean isConfigurable)
This method is used to set the isConfigurable property of the probe. |
void |
setProbeClassName(java.lang.String className)
This method is used to set the class name of the probe. |
void |
setProbeExecTime(long seconds)
This method is used to set the probe execution time in seconds. |
void |
setProbeResult(java.lang.String result)
This method is used to set the probe result. |
void |
setTimeout(long seconds)
This method is used to set the timeout in seconds. |
void |
setType(java.lang.String type)
This method is used to set the type of the probe. |
void |
setVirtualMetrics(java.util.Map vMetrics)
This method is used to set the Virtual Metrics. |
void |
setVMetricsValidity(int minutes)
This method is used to set the Virtual Metrics validity in minutes. |
| Method Detail |
|---|
java.util.Map getInputParameters()
throws SDKException
This method is used to retrieve the input parameters stored in the InfoObject.
SDKException - An SDKException
void setInputParameters(java.util.Map inputParam)
throws SDKException
This method is used to set the input parameters.
inputParam - Input parameters
SDKException - An SDKException
java.lang.String getProbeClassName()
throws SDKException
This method is used to retrieve the class name of the probe.
SDKException - An SDKException
void setProbeClassName(java.lang.String className)
throws SDKException
This method is used to set the class name of the probe.
className - Class name of the probe implementation.
SDKException - An SDKException
long getTimeout()
throws SDKException
This method is used to retrieve the timeout in seconds.
SDKException - An SDKException
void setTimeout(long seconds)
throws SDKException
This method is used to set the timeout in seconds.
seconds - Timeout interval in seconds
SDKException - An SDKException
void setProbeResult(java.lang.String result)
throws SDKException
This method is used to set the probe result. The probe result can be Success or Failed or TimedOut.
result - Probe Result
SDKException - An SDKException
java.lang.String getProbeResult()
throws SDKException
This method is used to retrieve the probe result.
SDKException - An SDKException
void setProbeExecTime(long seconds)
throws SDKException
This method is used to set the probe execution time in seconds.
seconds - execution time in seconds
SDKException - An SDKException
long getProbeExecTime()
throws SDKException
This method is used to retrieve the probe execution time in seconds.
SDKException - An SDKExceptionIVirtualMetrics getVirtualMetrics()
This method is used to retrieve the Virtual Metrics. Returns null when there is no Virtual Metrics.
void setVirtualMetrics(java.util.Map vMetrics)
throws SDKException
This method is used to set the Virtual Metrics.
vMetrics - Virtual Metrics
SDKException - PropertyNotFoundvoid setHealthProbeExecTime()
This method is used to set the current time in SI_HEALTHPROBE_EXECTIME.
int getVMetricsValidity()
This method is used to retrieve the value in minutes which represents the validity of the Virtual Metrics. This value is used with SI_HEALTHPROBE_EXECTIME to determine whether the probe has to be executed on request. Returns 0 if the property is not found.
void setVMetricsValidity(int minutes)
This method is used to set the Virtual Metrics validity in minutes.
minutes - Virtual Metrics validity in minuteslong getHealthProbeExecTime()
This method is used to retrieve the last execution time of the Health Probe. Returns 0 if the property is not found.
java.util.Map getInputProperties()
throws SDKException
This method is used to retrieve the map of input properties stored in the InfoObject.
SDKException - An SDKException
void setInputProperties(java.util.Map inputProps)
throws SDKException
This method is used to set the input properties in the InfoObject.
inputProps - Map of input properties to be stored in the InfoObject
SDKException - An SDKExceptionvoid setInputPropertyBag(PropertyBag bag)
This method is used to set the input properties on probe InfoObject.
bag - PropertyBagvoid setIntialized(boolean isInit)
This method is used to set the initialized flag.
isInit - isIntializedjava.lang.String getType()
This method is used to retrieve the type of the probe.
void setType(java.lang.String type)
This method is used to set the type of the probe.
type - type of the probeboolean getIsConfigurable()
This method is used to retrieve the input parameters of the probe that are configurable.
void setIsConfigurable(boolean isConfigurable)
This method is used to set the isConfigurable property of the probe.
isConfigurable - is the probe configurable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||