Class PublicationTransportHandler
java.lang.Object
org.elasticsearch.cluster.coordination.PublicationTransportHandler
-
Nested Class Summary
Nested ClassesModifier 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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPublicationTransportHandler
(BigArrays bigArrays, TransportService transportService, NamedWriteableRegistry namedWriteableRegistry, Function<PublishRequest, PublishWithJoinResponse> handlePublishRequest, BiConsumer<ApplyCommitRequest, ActionListener<Void>> handleApplyCommit) -
Method Summary
Modifier and TypeMethodDescriptionnewPublicationContext
(ClusterStatePublicationEvent clusterStatePublicationEvent) stats()
-
Field Details
-
PUBLISH_STATE_ACTION_NAME
- See Also:
-
COMMIT_STATE_ACTION_NAME
- See Also:
-
-
Constructor Details
-
PublicationTransportHandler
public PublicationTransportHandler(BigArrays bigArrays, TransportService transportService, NamedWriteableRegistry namedWriteableRegistry, Function<PublishRequest, PublishWithJoinResponse> handlePublishRequest, BiConsumer<ApplyCommitRequest, ActionListener<Void>> handleApplyCommit)
-
-
Method Details
-
stats
-
newPublicationContext
public PublicationTransportHandler.PublicationContext newPublicationContext(ClusterStatePublicationEvent clusterStatePublicationEvent)
-