@Beta
@Immutable
public class TransportEndpointState
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TransportEndpointState.Builder |
Modifier | Constructor and Description |
---|---|
protected |
TransportEndpointState(TransportEndpointDescription description,
TransportEndpointId id,
boolean live,
java.util.Map<java.lang.String,java.lang.String> attributes) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
attributes()
Returns implementation defined attributes.
|
static TransportEndpointState.Builder |
builder()
Returns
TransportEndpointState builder. |
TransportEndpointDescription |
description()
Returns description associated to this state.
|
TransportEndpointId |
id()
Returns
TransportEndpointId . |
boolean |
isLive()
Returns liveness state of this endpoint.
|
java.lang.String |
toString() |
protected TransportEndpointState(TransportEndpointDescription description, TransportEndpointId id, boolean live, java.util.Map<java.lang.String,java.lang.String> attributes)
public TransportEndpointId id()
TransportEndpointId
.public boolean isLive()
public TransportEndpointDescription description()
@Beta public java.util.Map<java.lang.String,java.lang.String> attributes()
public java.lang.String toString()
toString
in class java.lang.Object
public static TransportEndpointState.Builder builder()
TransportEndpointState
builder.