Class PublicationTransportHandler
org.elasticsearch.cluster.coordination.PublicationTransportHandler
public class PublicationTransportHandler
extends
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Publishing a cluster state typically involves sending the same cluster state (or diff) to every node, so the work of diffing, serializing, and compressing the state can be done once and the results shared across publish requests. -
Field Summary
Modifier and TypeFieldDescriptionstatic
static
-
Constructor Summary
ConstructorDescriptionPublicationTransportHandler(TransportService transportService, NamedWriteableRegistry namedWriteableRegistry, <PublishRequest,PublishWithJoinResponse> handlePublishRequest, <>> handleApplyCommit)
-
Method Summary
Modifier and TypeMethodDescriptionnewPublicationContext(ClusterChangedEvent clusterChangedEvent)
stats()
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Field Details
-
PUBLISH_STATE_ACTION_NAME
public static final PUBLISH_STATE_ACTION_NAME- See Also:
- Constant Field Values
-
COMMIT_STATE_ACTION_NAME
public static final COMMIT_STATE_ACTION_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
PublicationTransportHandler
public PublicationTransportHandler(TransportService transportService, NamedWriteableRegistry namedWriteableRegistry, <PublishRequest,PublishWithJoinResponse> handlePublishRequest, <>> handleApplyCommit)
-
-
Method Details
-
stats
-
newPublicationContext
public PublicationTransportHandler.PublicationContext newPublicationContext(ClusterChangedEvent clusterChangedEvent)
-