Class PublicationTransportHandler.PublicationContext

java.lang.Object
org.opensearch.cluster.coordination.PublicationTransportHandler.PublicationContext
Enclosing class:
PublicationTransportHandler

public class PublicationTransportHandler.PublicationContext extends Object
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. The PublicationContext implements this sharing.
Opensearch.internal:
  • Method Details

    • sendPublishRequest

      public void sendPublishRequest(DiscoveryNode destination, PublishRequest publishRequest, org.opensearch.core.action.ActionListener<PublishWithJoinResponse> listener)
    • sendApplyCommit

      public void sendApplyCommit(DiscoveryNode destination, ApplyCommitRequest applyCommitRequest, org.opensearch.core.action.ActionListener<org.opensearch.core.transport.TransportResponse.Empty> listener)