Streamable
, Writeable
public static class TransportNodesSnapshotsStatus.NodeSnapshotStatus extends BaseNodeResponse
TransportResponse.Empty
Writeable.Reader<V>, Writeable.Writer<V>
Constructor | Description |
---|---|
NodeSnapshotStatus(DiscoveryNode node,
java.util.Map<Snapshot,java.util.Map<ShardId,SnapshotIndexShardStatus>> status) |
Modifier and Type | Method | Description |
---|---|---|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
java.util.Map<Snapshot,java.util.Map<ShardId,SnapshotIndexShardStatus>> |
status() |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
getNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
remoteAddress, remoteAddress
public NodeSnapshotStatus(DiscoveryNode node, java.util.Map<Snapshot,java.util.Map<ShardId,SnapshotIndexShardStatus>> status)
public java.util.Map<Snapshot,java.util.Map<ShardId,SnapshotIndexShardStatus>> status()
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class BaseNodeResponse
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class BaseNodeResponse
java.io.IOException