Class BasicReplicationRequest

All Implemented Interfaces:
IndicesRequest, Writeable, RefCounted, TaskAwareRequest, TransportRequest

public class BasicReplicationRequest extends ReplicationRequest<BasicReplicationRequest>
A replication request that has no more information than ReplicationRequest. Unfortunately ReplicationRequest can't be declared as a type parameter because it has a self referential type parameter of its own. So use this instead.
  • Constructor Details

    • BasicReplicationRequest

      public BasicReplicationRequest(ShardId shardId)
      Creates a new request with resolved shard id
    • BasicReplicationRequest

      public BasicReplicationRequest(ShardId shardId, SplitShardCountSummary reshardSplitShardCountSummary)
      Creates a new request with resolved shard id and SplitShardCountSummary (used to determine if the request needs to be executed on a split shard not yet seen by the coordinator that sent the request)
    • BasicReplicationRequest

      public BasicReplicationRequest(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details