Module org.elasticsearch.server
Class IndexShardRoutingTable.Builder
java.lang.Object
org.elasticsearch.cluster.routing.IndexShardRoutingTable.Builder
- Enclosing class:
IndexShardRoutingTable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddShard(ShardRouting shardEntry) build()readFrom(StreamInput in) readFromThin(StreamInput in, Index index) removeShard(ShardRouting shardEntry) shardId()static voidwriteTo(IndexShardRoutingTable indexShard, StreamOutput out) static voidwriteToThin(IndexShardRoutingTable indexShard, StreamOutput out)
-
Constructor Details
-
Builder
-
Builder
-
-
Method Details
-
shardId
-
addShard
-
removeShard
-
build
-
readFrom
- Throws:
IOException
-
readFromThin
public static IndexShardRoutingTable.Builder readFromThin(StreamInput in, Index index) throws IOException - Throws:
IOException
-
writeTo
- Throws:
IOException
-
writeToThin
public static void writeToThin(IndexShardRoutingTable indexShard, StreamOutput out) throws IOException - Throws:
IOException
-