@Beta @Immutable public class ProtectedTransportEndpointState extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProtectedTransportEndpointState.Builder |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_UNKNOWN
Active path is currently unknown.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ProtectedTransportEndpointState(ProtectedTransportEndpointDescription description,
List<TransportEndpointState> pathStates,
int activePathIndex) |
| Modifier and Type | Method and Description |
|---|---|
static ProtectedTransportEndpointState.Builder |
builder()
Returns
ProtectedTransportEndpointState builder. |
ProtectedTransportEndpointDescription |
description()
Returns the description of this ProtectedPathEndPoint.
|
List<TransportEndpointState> |
pathStates()
Returns the
TransportEndpointStates forming the ProtectedPathEndPoint. |
String |
toString() |
int |
workingPathIndex()
Returns the index of the working Path in
pathStates() List or
ACTIVE_UNKNOWN. |
public static final int ACTIVE_UNKNOWN
protected ProtectedTransportEndpointState(ProtectedTransportEndpointDescription description, List<TransportEndpointState> pathStates, int activePathIndex)
public ProtectedTransportEndpointDescription description()
public List<TransportEndpointState> pathStates()
TransportEndpointStates forming the ProtectedPathEndPoint.public int workingPathIndex()
pathStates() List or
ACTIVE_UNKNOWN.public static ProtectedTransportEndpointState.Builder builder()
ProtectedTransportEndpointState builder.