|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttoolbus.viewer.PerformanceInformationHandler
public class PerformanceInformationHandler
Handles performance information dispatch and retrieval.
Nested Class Summary | |
---|---|
private static class |
PerformanceInformationHandler.PerformanceStatsEntryHandler
Entry handler used for iterating over the arrived performance statistics. |
Field Summary | |
---|---|
private toolbus.util.collections.ConcurrentHashMap<ToolInstance,aterm.ATerm> |
arrivedPerformanceStats
|
private IPerformanceMonitor |
performanceMonitor
|
private PerformanceInformationHandler.PerformanceStatsEntryHandler |
performanceStatsEntryHandler
|
private toolbus.util.collections.ConcurrentHashSet<aterm.ATerm> |
toolInstancesToMonitor
|
private toolbus.util.collections.ConcurrentHashSet<java.lang.String> |
toolTypesToMonitor
|
Constructor Summary | |
---|---|
PerformanceInformationHandler(IPerformanceMonitor performanceMonitor)
Constructor. |
Method Summary | |
---|---|
void |
handleRetrievedData()
Invoked by the debug toolbus when it wishes to process all currently received performance data. |
void |
startMonitoringTool(aterm.ATerm toolKey)
Initiates the monitoring of the tool associated with the given tool key. |
void |
startMonitorToolType(java.lang.String toolName)
Initiates the monitoring of the given tool type. |
void |
stopMonitoringTool(aterm.ATerm toolKey)
Stops monitoring the tool associated with the given tool key. |
void |
stopMonitoringToolType(java.lang.String toolName)
Stops monitoring tools of the given type. |
void |
toolCommunicationTriggered(ToolInstance toolInstance,
int operation)
Invoked by the debug toolbus when communication with a tool instance occured. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final IPerformanceMonitor performanceMonitor
private final toolbus.util.collections.ConcurrentHashSet<aterm.ATerm> toolInstancesToMonitor
private final toolbus.util.collections.ConcurrentHashSet<java.lang.String> toolTypesToMonitor
private final toolbus.util.collections.ConcurrentHashMap<ToolInstance,aterm.ATerm> arrivedPerformanceStats
private final PerformanceInformationHandler.PerformanceStatsEntryHandler performanceStatsEntryHandler
Constructor Detail |
---|
public PerformanceInformationHandler(IPerformanceMonitor performanceMonitor)
performanceMonitor
- The tool performance monitor to use.Method Detail |
---|
public void startMonitoringTool(aterm.ATerm toolKey)
toolKey
- The tool key associated with the tool we want to monitor.public void stopMonitoringTool(aterm.ATerm toolKey)
toolKey
- The tool key associated with the tool which we want to stop monitoring.public void startMonitorToolType(java.lang.String toolName)
toolName
- The tool type of tool we want to monitor.public void stopMonitoringToolType(java.lang.String toolName)
toolName
- The type of tool which we want to stop monitoring.public void toolCommunicationTriggered(ToolInstance toolInstance, int operation)
toolInstance
- The tool instance that received the data.operation
- The operation associated with the received data.public void handleRetrievedData()
|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |