Class BaseGatewayShardAllocator

java.lang.Object
org.elasticsearch.gateway.BaseGatewayShardAllocator
Direct Known Subclasses:
PrimaryShardAllocator, ReplicaShardAllocator

public abstract class BaseGatewayShardAllocator
extends java.lang.Object
An abstract class that implements basic functionality for allocating shards to nodes based on shard copies that already exist in the cluster. Individual implementations of this class are responsible for providing the logic to determine to which nodes (if any) those shards are allocated.
  • Field Details

    • logger

      protected final org.apache.logging.log4j.Logger logger
  • Constructor Details

    • BaseGatewayShardAllocator

      public BaseGatewayShardAllocator()
  • Method Details