Class BroadcastShardResponse
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportResponse
-
- org.elasticsearch.action.support.broadcast.BroadcastShardResponse
-
- All Implemented Interfaces:
Writeable
- Direct Known Subclasses:
ShardUpgradeStatus,SnapshotIndexShardStatus
public abstract class BroadcastShardResponse extends TransportResponse
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
TransportResponse.Empty
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBroadcastShardResponse(StreamInput in)protectedBroadcastShardResponse(ShardId shardId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIndex()ShardIdgetShardId()voidwriteTo(StreamOutput out)Write this into the StreamOutput.-
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
-
-
-
Constructor Detail
-
BroadcastShardResponse
protected BroadcastShardResponse(StreamInput in) throws IOException
- Throws:
IOException
-
BroadcastShardResponse
protected BroadcastShardResponse(ShardId shardId)
-
-
Method Detail
-
getIndex
public String getIndex()
-
getShardId
public ShardId getShardId()
-
writeTo
public void writeTo(StreamOutput out) throws IOException
Description copied from interface:WriteableWrite this into the StreamOutput.- Throws:
IOException
-
-