Class IndexShardRoutingTable.Builder
java.lang.Object
org.elasticsearch.cluster.routing.IndexShardRoutingTable.Builder
- Enclosing class:
- IndexShardRoutingTable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddShard(ShardRouting shardEntry)
build()
static IndexShardRoutingTable
readFrom(StreamInput in)
static IndexShardRoutingTable
readFromThin(StreamInput in, Index index)
removeShard(ShardRouting shardEntry)
static void
writeTo(IndexShardRoutingTable indexShard, StreamOutput out)
static void
writeToThin(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
-