org.elasticsearch.gateway.local
Class LocalGatewayStartedShards.Builder
java.lang.Object
org.elasticsearch.gateway.local.LocalGatewayStartedShards.Builder
- Enclosing class:
- LocalGatewayStartedShards
public static class LocalGatewayStartedShards.Builder
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalGatewayStartedShards.Builder
public LocalGatewayStartedShards.Builder()
state
public LocalGatewayStartedShards.Builder state(LocalGatewayStartedShards state)
version
public LocalGatewayStartedShards.Builder version(long version)
remove
public LocalGatewayStartedShards.Builder remove(ShardId shardId)
put
public LocalGatewayStartedShards.Builder put(ShardId shardId,
long version)
build
public LocalGatewayStartedShards build()
toXContent
public static void toXContent(LocalGatewayStartedShards state,
XContentBuilder builder,
ToXContent.Params params)
throws java.io.IOException
- Throws:
java.io.IOException
fromXContent
public static LocalGatewayStartedShards fromXContent(XContentParser parser,
@Nullable
Settings globalSettings)
throws java.io.IOException
- Throws:
java.io.IOException
readFrom
public static LocalGatewayStartedShards readFrom(StreamInput in,
@Nullable
Settings globalSettings)
throws java.io.IOException
- Throws:
java.io.IOException
writeTo
public static void writeTo(LocalGatewayStartedShards state,
StreamOutput out)
throws java.io.IOException
- Throws:
java.io.IOException