@Deprecated public interface Probe
A probe must not be invasive and the agent is able to ignore them (ie. to not provide information).
Modifier and Type | Method and Description |
---|---|
<T> T[] |
getProbeArray(String probeName,
Class<T> clazz)
Deprecated.
Replies a probed value.
|
boolean |
getProbeBool(String probeName)
Deprecated.
Replies a probed value.
|
char |
getProbeChar(String probeName)
Deprecated.
Replies a probed value.
|
AgentIdentifier |
getProbedAgentId()
Deprecated.
Replies the identifier of the probed agent.
|
double |
getProbeDouble(String probeName)
Deprecated.
Replies a probed value.
|
float |
getProbeFloat(String probeName)
Deprecated.
Replies a probed value.
|
int |
getProbeInt(String probeName)
Deprecated.
Replies a probed value.
|
long |
getProbeLong(String probeName)
Deprecated.
Replies a probed value.
|
String[] |
getProbeNames()
Deprecated.
Replies the names of the probed values inside the agent.
|
String |
getProbeString(String probeName)
Deprecated.
Replies a probed value.
|
<T> T |
getProbeValue(String probeName,
Class<T> clazz)
Deprecated.
Replies a probed value.
|
boolean |
hasProbeValue(String probeName)
Deprecated.
Replies if the specified probe value exists.
|
boolean |
hasProbeValues()
Deprecated.
Replies if this probe contains a value.
|
boolean |
isProbedAgentAlive()
Deprecated.
Replies if the agent is alive.
|
String[] getProbeNames()
<T> T getProbeValue(String probeName, Class<T> clazz)
T
- is the type of the value to reply.clazz
- is the type of the value to reply.probeName
- is the name of the probed value<T> T[] getProbeArray(String probeName, Class<T> clazz)
This method permits to force the type of the value.
T
- is the type of the value to reply.probeName
- is the name of the probed value.clazz
- is the type of the expected value.null
int getProbeInt(String probeName) throws ProbeValueNotDefinedException
This method permits to force the type of the value.
probeName
- is the name of the probed value.null
ProbeValueNotDefinedException
long getProbeLong(String probeName) throws ProbeValueNotDefinedException
This method permits to force the type of the value.
probeName
- is the name of the probed value.null
ProbeValueNotDefinedException
float getProbeFloat(String probeName) throws ProbeValueNotDefinedException
This method permits to force the type of the value.
probeName
- is the name of the probed value.null
ProbeValueNotDefinedException
double getProbeDouble(String probeName) throws ProbeValueNotDefinedException
This method permits to force the type of the value.
probeName
- is the name of the probed value.null
ProbeValueNotDefinedException
boolean getProbeBool(String probeName) throws ProbeValueNotDefinedException
This method permits to force the type of the value.
probeName
- is the name of the probed value.null
ProbeValueNotDefinedException
char getProbeChar(String probeName) throws ProbeValueNotDefinedException
This method permits to force the type of the value.
probeName
- is the name of the probed value.null
ProbeValueNotDefinedException
String getProbeString(String probeName) throws ProbeValueNotDefinedException
This method permits to force the type of the value.
probeName
- is the name of the probed value.null
ProbeValueNotDefinedException
boolean isProbedAgentAlive()
true
if the agent associated to this probe is alive, otherwise false
AgentIdentifier getProbedAgentId()
boolean hasProbeValues()
true
if a probe value exists, otherwise false
boolean hasProbeValue(String probeName)
probeName
- is the value name to test.true
if a probe value exists, otherwise false
Copyright © 2003-2013 Arakhnê.org Members. All rights reserved under LGPL license terms.