org.elasticsearch.action.support.broadcast
Class BroadcastShardOperationResponse

java.lang.Object
  extended by org.elasticsearch.action.support.broadcast.BroadcastShardOperationResponse
All Implemented Interfaces:
Streamable
Direct Known Subclasses:
ShardSegments, ShardStats, ShardStatus

public abstract class BroadcastShardOperationResponse
extends Object
implements Streamable


Constructor Summary
protected BroadcastShardOperationResponse()
           
protected BroadcastShardOperationResponse(String index, int shardId)
           
 
Method Summary
 String getIndex()
           
 int getShardId()
           
 String index()
           
 void readFrom(StreamInput in)
           
 int shardId()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BroadcastShardOperationResponse

protected BroadcastShardOperationResponse()

BroadcastShardOperationResponse

protected BroadcastShardOperationResponse(String index,
                                          int shardId)
Method Detail

index

public String index()

getIndex

public String getIndex()

shardId

public int shardId()

getShardId

public int getShardId()

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.