public class ShardStateAction extends AbstractComponent
Modifier and Type | Field and Description |
---|---|
static String |
SHARD_FAILED_ACTION_NAME |
static String |
SHARD_STARTED_ACTION_NAME |
componentSettings, 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,
String reason,
DiscoveryNode masterNode) |
void |
shardFailed(ShardRouting shardRouting,
String indexUUID,
String reason) |
void |
shardStarted(ShardRouting shardRouting,
String indexUUID,
String reason) |
void |
shardStarted(ShardRouting shardRouting,
String indexUUID,
String reason,
DiscoveryNode masterNode) |
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 reason) throws ElasticsearchException
ElasticsearchException
public void resendShardFailed(ShardRouting shardRouting, String indexUUID, String reason, DiscoveryNode masterNode) throws ElasticsearchException
ElasticsearchException
public void shardStarted(ShardRouting shardRouting, String indexUUID, String reason) throws ElasticsearchException
ElasticsearchException
public void shardStarted(ShardRouting shardRouting, String indexUUID, String reason, DiscoveryNode masterNode) throws ElasticsearchException
ElasticsearchException
Copyright © 2009–2015. All rights reserved.