public class IADebugReceiver extends java.lang.Object implements DebugReceiver
| Constructor and Description |
|---|
IADebugReceiver()
Deprecated.
|
IADebugReceiver(DriverProperties driverProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDebugInfo(DebugInfo instance,
java.lang.String sourceagent)
Callback method from the TestDriver when a new DebugInfo object has been received by
one of the servers specified in the debugservers property.
|
void |
clearDebugInfo()
clear all the DebugInfo objects from the debug cache.
|
void |
clearDebugInfo(java.lang.String agent)
clear all the DebugInfo objects from the debug cache for a given agent.
|
DebugInfo[] |
getDebugInfo(java.lang.String AgentName)
return DebugInfo objects from the cache.
|
DebugInfo[] |
getDebugInfo(java.lang.String AgentName,
int timeout,
java.util.concurrent.TimeUnit unit)
return DebugInfo objects from the cache.
|
DebugInfo[] |
getDebugInfo(java.lang.String AgentName,
int timeout,
java.util.concurrent.TimeUnit unit,
int count)
return debugInfo Objects from the cache.
|
void |
setQueueSize(int size)
Set the maximum size of the debug event cache.
|
@Deprecated public IADebugReceiver()
IADebugReceiver(DriverProperties).public IADebugReceiver(DriverProperties driverProperties)
driverProperties - public DebugInfo[] getDebugInfo(java.lang.String AgentName, int timeout, java.util.concurrent.TimeUnit unit)
AgentName - : the name of the agent which generated the event, or "*" for all agentstimeout - : period of time in seconds to wait for DebugInfo objectsunit - : TimeUnit of the timeoutpublic DebugInfo[] getDebugInfo(java.lang.String AgentName, int timeout, java.util.concurrent.TimeUnit unit, int count)
AgentName - : the name of the agent which generated the event or "*" for all agentstimeout - : period of time in seconds to wait for DebugInfo objectsunit - : TimeUnit of the timeoutcount - : number of desired eventspublic DebugInfo[] getDebugInfo(java.lang.String AgentName)
AgentName - : the name of the agent which generated the event or "*" for all agentspublic void clearDebugInfo()
public void clearDebugInfo(java.lang.String agent)
AgentName - : the name of the agent whose events will be deleted.public void addDebugInfo(DebugInfo instance, java.lang.String sourceagent)
addDebugInfo in interface DebugReceiverinstance - - the received DebugInfo objectsourceagent - - the name of the agent which generated the eventpublic void setQueueSize(int size)
size - - the new maximum size© Copyright IBM 2017