public class PublishClusterStateAction extends AbstractComponent
Modifier and Type | Class and Description |
---|---|
static interface |
PublishClusterStateAction.NewClusterStateListener |
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_NAME |
componentSettings, logger, settings
Constructor and Description |
---|
PublishClusterStateAction(Settings settings,
TransportService transportService,
DiscoveryNodesProvider nodesProvider,
PublishClusterStateAction.NewClusterStateListener listener,
DiscoverySettings discoverySettings,
ClusterName clusterName) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
publish(ClusterState clusterState,
Discovery.AckListener ackListener) |
nodeName
public static final String ACTION_NAME
public PublishClusterStateAction(Settings settings, TransportService transportService, DiscoveryNodesProvider nodesProvider, PublishClusterStateAction.NewClusterStateListener listener, DiscoverySettings discoverySettings, ClusterName clusterName)
public void close()
public void publish(ClusterState clusterState, Discovery.AckListener ackListener)
Copyright © 2009–2015. All rights reserved.