Class EdgeStateValue
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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.tracecompass.internal.provisional.statesystem.core.statevalue.CustomStateValue
org.eclipse.tracecompass.internal.provisional.statesystem.core.statevalue.CustomStateValue.CustomStateValueFactory
Nested classes/interfaces inherited from interface org.eclipse.tracecompass.statesystem.core.statevalue.ITmfStateValue
ITmfStateValue.Type
-
Field Summary
Modifier and TypeFieldDescriptionstatic final byte
The Custom Type value ID forEdgeStateValue
s.static final org.eclipse.tracecompass.internal.provisional.statesystem.core.statevalue.CustomStateValue.CustomStateValueFactory
TheCustomStateValue.CustomStateValueFactory
forEdgeStateValue
s -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(@NonNull ITmfStateValue o) boolean
Getter for the destination threadint
getId()
Get the edge IDGetter for the source threadint
hashCode()
toString()
Methods inherited from class org.eclipse.tracecompass.internal.provisional.statesystem.core.statevalue.CustomStateValue
getCustomFactory, getSerializedSize, getType, isNull, readSerializedValue, registerCustomFactory, serialize, unboxValue
Methods inherited from class org.eclipse.tracecompass.statesystem.core.statevalue.TmfStateValue
newValue, newValueDouble, newValueInt, newValueLong, newValueString, nullValue, unboxDouble, unboxInt, unboxLong, unboxStr
-
Field Details
-
CUSTOM_TYPE_ID
public static final byte CUSTOM_TYPE_IDThe Custom Type value ID forEdgeStateValue
s.- See Also:
-
EDGE_STATE_VALUE_FACTORY
public static final org.eclipse.tracecompass.internal.provisional.statesystem.core.statevalue.CustomStateValue.CustomStateValueFactory EDGE_STATE_VALUE_FACTORYTheCustomStateValue.CustomStateValueFactory
forEdgeStateValue
s
-
-
Constructor Details
-
EdgeStateValue
Constructor- Parameters:
id
- edge IDsrc
- sourceHostThread
dst
- destinationHostThread
-
-
Method Details
-
getId
public int getId()Get the edge ID- Returns:
- the edge ID
-
getSource
Getter for the source thread- Returns:
- the source
HostThread
object
-
getDestination
Getter for the destination thread- Returns:
- the destination
HostThread
object.
-
compareTo
-
toString
-
hashCode
public int hashCode() -
equals
-