org.elasticsearch.gateway.local
Class LocalGatewayStartedShards.Builder

java.lang.Object
  extended by org.elasticsearch.gateway.local.LocalGatewayStartedShards.Builder
Enclosing class:
LocalGatewayStartedShards

public static class LocalGatewayStartedShards.Builder
extends java.lang.Object


Constructor Summary
LocalGatewayStartedShards.Builder()
           
 
Method Summary
 LocalGatewayStartedShards build()
           
static LocalGatewayStartedShards fromXContent(XContentParser parser, Settings globalSettings)
           
 LocalGatewayStartedShards.Builder put(ShardId shardId, long version)
           
static LocalGatewayStartedShards readFrom(StreamInput in, Settings globalSettings)
           
 LocalGatewayStartedShards.Builder remove(ShardId shardId)
           
 LocalGatewayStartedShards.Builder state(LocalGatewayStartedShards state)
           
static void toXContent(LocalGatewayStartedShards state, XContentBuilder builder, ToXContent.Params params)
           
 LocalGatewayStartedShards.Builder version(long version)
           
static void writeTo(LocalGatewayStartedShards state, StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalGatewayStartedShards.Builder

public LocalGatewayStartedShards.Builder()
Method Detail

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