org.elasticsearch.action.support.broadcast
Class BroadcastShardOperationRequest

java.lang.Object
  extended by org.elasticsearch.action.support.broadcast.BroadcastShardOperationRequest
All Implemented Interfaces:
Streamable
Direct Known Subclasses:
TransportIndicesSegmentsAction.IndexShardSegmentRequest, TransportIndicesStatsAction.IndexShardStatsRequest, TransportIndicesStatusAction.IndexShardStatusRequest

public abstract class BroadcastShardOperationRequest
extends Object
implements Streamable


Constructor Summary
protected BroadcastShardOperationRequest()
           
protected BroadcastShardOperationRequest(String index, int shardId)
           
 
Method Summary
 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

BroadcastShardOperationRequest

protected BroadcastShardOperationRequest()

BroadcastShardOperationRequest

protected BroadcastShardOperationRequest(String index,
                                         int shardId)
Method Detail

index

public String index()

shardId

public int shardId()

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.