Class AbstractAllocateAllocationCommand

java.lang.Object
org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand
All Implemented Interfaces:
AllocationCommand, NamedWriteable, Writeable, ToXContent, ToXContentObject
Direct Known Subclasses:
AllocateReplicaAllocationCommand, BasePrimaryAllocationCommand

public abstract class AbstractAllocateAllocationCommand extends Object implements AllocationCommand
Abstract base class for allocating an unassigned shard to a node
  • Field Details

    • index

      protected final String index
    • shardId

      protected final int shardId
    • node

      protected final String node
  • Constructor Details

    • AbstractAllocateAllocationCommand

      protected AbstractAllocateAllocationCommand(String index, int shardId, String node)
    • AbstractAllocateAllocationCommand

      protected AbstractAllocateAllocationCommand(StreamInput in) throws IOException
      Read from a stream.
      Throws:
      IOException
  • Method Details