public class ShardStateAction extends AbstractComponent
Modifier and Type | Class and Description |
---|---|
static class |
ShardStateAction.ShardRoutingEntry |
Modifier and Type | Field and Description |
---|---|
static String |
SHARD_FAILED_ACTION_NAME |
static String |
SHARD_STARTED_ACTION_NAME |
deprecationLogger, logger, settings
Constructor and Description |
---|
ShardStateAction(Settings settings,
ClusterService clusterService,
TransportService transportService,
AllocationService allocationService,
RoutingService routingService) |
Modifier and Type | Method and Description |
---|---|
void |
resendShardFailed(ShardRouting shardRouting,
String indexUUID,
DiscoveryNode masterNode,
String message,
Throwable failure) |
void |
shardFailed(ShardRouting shardRouting,
String indexUUID,
String message,
Throwable failure) |
void |
shardStarted(ShardRouting shardRouting,
String indexUUID,
String reason) |
void |
shardStarted(ShardRouting shardRouting,
String indexUUID,
String reason,
DiscoveryNode masterNode) |
logDeprecatedSetting, logRemovedSetting, nodeName
public static final String SHARD_STARTED_ACTION_NAME
public static final String SHARD_FAILED_ACTION_NAME
@Inject public ShardStateAction(Settings settings, ClusterService clusterService, TransportService transportService, AllocationService allocationService, RoutingService routingService)
public void shardFailed(ShardRouting shardRouting, String indexUUID, String message, @Nullable Throwable failure)
public void resendShardFailed(ShardRouting shardRouting, String indexUUID, DiscoveryNode masterNode, String message, @Nullable Throwable failure)
public void shardStarted(ShardRouting shardRouting, String indexUUID, String reason)
public void shardStarted(ShardRouting shardRouting, String indexUUID, String reason, DiscoveryNode masterNode)
Copyright © 2009–2016. All rights reserved.