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()static IndexShardRoutingTablereadFrom(StreamInput in)static IndexShardRoutingTablereadFromThin(StreamInput in, Index index)removeShard(ShardRouting shardEntry)static voidwriteTo(IndexShardRoutingTable indexShard, StreamOutput out)static voidwriteToThin(IndexShardRoutingTable indexShard, StreamOutput out)
-
Constructor Details
-
Builder
-
Builder
-
-
Method Details
-
addShard
-
removeShard
-
build
-
readFrom
- Throws:
IOException
-
readFromThin
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
writeToThin
public static void writeToThin(IndexShardRoutingTable indexShard, StreamOutput out) throws IOException- Throws:
IOException
-