java.lang.Object
org.eclipse.tracecompass.statesystem.core.statevalue.TmfStateValue
org.eclipse.tracecompass.internal.provisional.statesystem.core.statevalue.CustomStateValue
org.eclipse.tracecompass.incubator.callstack.core.base.EdgeStateValue
All Implemented Interfaces:
Comparable<ITmfStateValue>, ITmfStateValue

public class EdgeStateValue extends org.eclipse.tracecompass.internal.provisional.statesystem.core.statevalue.CustomStateValue
CustomStateValue to serialize edges from one HostThread to another. Also contains the scope id, start and duration must come from the encapuslating interval.
Author:
Loic Prieur-Drevon
  • Field Details

    • CUSTOM_TYPE_ID

      public static final byte CUSTOM_TYPE_ID
      The Custom Type value ID for EdgeStateValues.
      See Also:
    • EDGE_STATE_VALUE_FACTORY

      public static final org.eclipse.tracecompass.internal.provisional.statesystem.core.statevalue.CustomStateValue.CustomStateValueFactory EDGE_STATE_VALUE_FACTORY
      The CustomStateValue.CustomStateValueFactory for EdgeStateValues
  • Constructor Details

  • Method Details

    • getId

      public int getId()
      Get the edge ID
      Returns:
      the edge ID
    • getSource

      public HostThread getSource()
      Getter for the source thread
      Returns:
      the source HostThread object
    • getDestination

      public HostThread getDestination()
      Getter for the destination thread
      Returns:
      the destination HostThread object.
    • compareTo

      public int compareTo(@NonNull ITmfStateValue o)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object obj)
      Overrides:
      equals in class Object