java.lang.Object
org.eclipse.tracecompass.incubator.otf2.core.trace.Otf2NodeAspect
All Implemented Interfaces:
ITmfEventAspect<String>
Direct Known Subclasses:
Otf2ClusterAspect, Otf2PhysicalNodeAspect, Otf2ProcessAspect, Otf2ThreadAspect

public abstract class Otf2NodeAspect extends Object implements ITmfEventAspect<String>
Generic aspect used to resolve the name of a node in the system tree
Author:
Yoann Heitz
  • Constructor Details

    • Otf2NodeAspect

      public Otf2NodeAspect()
      Constructor for this aspect
  • Method Details

    • addNodeName

      public void addNodeName(Long locationId, String nodeName)
      Fills the map with locations ids that point to nodenames because these locations represent those nodes.
      Parameters:
      locationId - the ID of the location for which a new entry will be filled
      nodeName - the name of the node on which the location is located
    • resolve

      public @Nullable String resolve(ITmfEvent event)
      Specified by:
      resolve in interface ITmfEventAspect<String>