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 |
deprecationLogger, logger, settings
Constructor and Description |
---|
PublishClusterStateAction(Settings settings,
TransportService transportService,
DiscoveryNodesProvider nodesProvider,
PublishClusterStateAction.NewClusterStateListener listener,
DiscoverySettings discoverySettings) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
publish(ClusterChangedEvent clusterChangedEvent,
Discovery.AckListener ackListener) |
static BytesReference |
serializeDiffClusterState(Diff diff,
Version nodeVersion) |
static BytesReference |
serializeFullClusterState(ClusterState clusterState,
Version nodeVersion) |
logDeprecatedSetting, logRemovedSetting, nodeName
public static final String ACTION_NAME
public PublishClusterStateAction(Settings settings, TransportService transportService, DiscoveryNodesProvider nodesProvider, PublishClusterStateAction.NewClusterStateListener listener, DiscoverySettings discoverySettings)
public void close()
public void publish(ClusterChangedEvent clusterChangedEvent, Discovery.AckListener ackListener)
public static BytesReference serializeFullClusterState(ClusterState clusterState, Version nodeVersion) throws IOException
IOException
public static BytesReference serializeDiffClusterState(Diff diff, Version nodeVersion) throws IOException
IOException
Copyright © 2009–2017. All rights reserved.