public class LocalGatewayShardsState extends AbstractComponent implements ClusterStateListener
Modifier and Type | Field and Description |
---|---|
static MetaDataStateFormat<ShardStateInfo> |
FORMAT |
componentSettings, logger, settings
Constructor and Description |
---|
LocalGatewayShardsState(Settings settings,
NodeEnvironment nodeEnv,
TransportNodesListGatewayStartedShards listGatewayStartedShards) |
Modifier and Type | Method and Description |
---|---|
void |
clusterChanged(ClusterChangedEvent event)
Called when cluster state changes.
|
ShardStateInfo |
loadShardInfo(ShardId shardId) |
nodeName
public static final MetaDataStateFormat<ShardStateInfo> FORMAT
@Inject public LocalGatewayShardsState(Settings settings, NodeEnvironment nodeEnv, TransportNodesListGatewayStartedShards listGatewayStartedShards) throws Exception
Exception
public ShardStateInfo loadShardInfo(ShardId shardId) throws Exception
Exception
public void clusterChanged(ClusterChangedEvent event)
ClusterStateListener
clusterChanged
in interface ClusterStateListener
Copyright © 2009–2015. All rights reserved.