public class GatewayAllocator extends AbstractComponent
deprecationLogger, logger, settings
Constructor and Description |
---|
GatewayAllocator(Settings settings,
TransportNodesListGatewayStartedShards startedAction,
TransportNodesListShardStoreMetaData storeAction) |
Modifier and Type | Method and Description |
---|---|
boolean |
allocateUnassigned(RoutingAllocation allocation) |
void |
applyFailedShards(FailedRerouteAllocation allocation) |
void |
applyStartedShards(StartedRerouteAllocation allocation) |
int |
getNumberOfInFlightFetch() |
void |
setReallocation(ClusterService clusterService,
RoutingService routingService) |
logDeprecatedSetting, logRemovedSetting, nodeName
@Inject public GatewayAllocator(Settings settings, TransportNodesListGatewayStartedShards startedAction, TransportNodesListShardStoreMetaData storeAction)
public void setReallocation(ClusterService clusterService, RoutingService routingService)
public int getNumberOfInFlightFetch()
public void applyStartedShards(StartedRerouteAllocation allocation)
public void applyFailedShards(FailedRerouteAllocation allocation)
public boolean allocateUnassigned(RoutingAllocation allocation)
Copyright © 2009–2016. All rights reserved.