TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.trace
Class TraceLogger

java.lang.Object
  extended byorg.eclipse.hyades.execution.trace.util.ProfilerImpl
      extended byorg.eclipse.hyades.execution.trace.TraceLogger
All Implemented Interfaces:
org.eclipse.hyades.internal.execution.remote.AgentControllerListener, org.eclipse.hyades.internal.execution.remote.MonitorListener

public class TraceLogger
extends ProfilerImpl

This is the logger for distributed tracing.


Method Summary
static TraceLogger getInstance()
          Get the singleton instance of this profiler.
 void logCorrelator(java.lang.String eventType, TraceCorrelator self, TraceCorrelator partner)
          Logs a particular event using the information provided in self and partner, which may or may not be running on a remote entity.
 void monitorInactive()
          Invoked by the logging agent mechanism to indicate a remote client is discontinuing data collection.
 
Methods inherited from class org.eclipse.hyades.execution.trace.util.ProfilerImpl
agentControllerActive, agentControllerInactive, finalize, flushMessageQueue, getAgentId, getNodeId, getProcessId, monitorActive, write
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TraceLogger getInstance()
Get the singleton instance of this profiler.


monitorInactive

public void monitorInactive()
Invoked by the logging agent mechanism to indicate a remote client is discontinuing data collection.

Specified by:
monitorInactive in interface org.eclipse.hyades.internal.execution.remote.MonitorListener
Overrides:
monitorInactive in class ProfilerImpl

logCorrelator

public void logCorrelator(java.lang.String eventType,
                          TraceCorrelator self,
                          TraceCorrelator partner)
Logs a particular event using the information provided in self and partner, which may or may not be running on a remote entity.

Parameters:
eventType - the type of event
self - the event to be logged
partner - the parent of the self event

TPTP 4.2.0 Platform Project
Public API Specification