public abstract class PrimaryShardAllocator extends AbstractComponent
Modifier and Type | Field and Description |
---|---|
static String |
INDEX_RECOVERY_INITIAL_SHARDS |
deprecationLogger, logger, settings
Constructor and Description |
---|
PrimaryShardAllocator(Settings settings) |
Modifier and Type | Method and Description |
---|---|
boolean |
allocateUnassigned(RoutingAllocation allocation) |
protected abstract AsyncShardFetch.FetchResult<TransportNodesListGatewayStartedShards.NodeGatewayStartedShards> |
fetchData(ShardRouting shard,
RoutingAllocation allocation) |
logDeprecatedSetting, logRemovedSetting, nodeName
public static final String INDEX_RECOVERY_INITIAL_SHARDS
public PrimaryShardAllocator(Settings settings)
public boolean allocateUnassigned(RoutingAllocation allocation)
protected abstract AsyncShardFetch.FetchResult<TransportNodesListGatewayStartedShards.NodeGatewayStartedShards> fetchData(ShardRouting shard, RoutingAllocation allocation)
Copyright © 2009–2017. All rights reserved.