Class AllocateEmptyPrimaryAllocationCommand

    • Constructor Detail

      • AllocateEmptyPrimaryAllocationCommand

        public AllocateEmptyPrimaryAllocationCommand​(java.lang.String index,
                                                     int shardId,
                                                     java.lang.String node,
                                                     boolean acceptDataLoss)
        Parameters:
        shardId - ShardId of the shard to assign
        node - node id of the node to assign the shard to
        acceptDataLoss - whether the user agrees to data loss
      • AllocateEmptyPrimaryAllocationCommand

        public AllocateEmptyPrimaryAllocationCommand​(StreamInput in)
                                              throws java.io.IOException
        Read from a stream.
        Throws:
        java.io.IOException