Record Class GraphEdge
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.resilience.GraphEdge
- Record Components:
id- stable id, unique in the graph (for exampleconn:aws@DC)kind- what the edge stands forfrom- one endpoint's node idto- the other endpoint's node idrole-EdgeRole.PRIMARYorEdgeRole.STANDBYfor redundant edges;nullotherwisecapacityMbps- provisioned capacity in Mbps;nullwhen unknown or not provisioned by the design (an unknown capacity never constrains the simulation, and the report says so)roundTripMs- round-trip latency in ms;nullwhen unknown (never a sentinel number)latencyBasis- whereroundTripMscame from (measured,estimated,intra-metro,assumed);nullwhen unknowncarries- labels of the workloads the edge carries (a standby carriage is suffixed(standby))note- detail for the reader, ornull
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecapacityMbpsrecord component.carries()Returns the value of thecarriesrecord component.final booleanIndicates whether some other object is "equal to" this one.from()Returns the value of thefromrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.kind()Returns the value of thekindrecord component.Returns the value of thelatencyBasisrecord component.note()Returns the value of thenoterecord component.role()Returns the value of therolerecord component.Returns the value of theroundTripMsrecord component.to()Returns the value of thetorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GraphEdge
-
-
Method Details
-
other
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
id
-
kind
-
from
-
to
-
role
-
capacityMbps
Returns the value of thecapacityMbpsrecord component.- Returns:
- the value of the
capacityMbpsrecord component
-
roundTripMs
Returns the value of theroundTripMsrecord component.- Returns:
- the value of the
roundTripMsrecord component
-
latencyBasis
Returns the value of thelatencyBasisrecord component.- Returns:
- the value of the
latencyBasisrecord component
-
carries
-
note
-