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 boolean remove(ShardId shardId)
- Returns true if something really changed.
put
public boolean put(ShardId shardId,
long version)
- Returns true if something really changed.
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)
throws java.io.IOException
- Throws:
java.io.IOException
readFrom
public static LocalGatewayStartedShards readFrom(StreamInput in)
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