Class PrimaryElectionEvent

java.lang.Object
io.debezium.connector.mongodb.PrimaryElectionEvent
All Implemented Interfaces:
ConnectorEvent

public class PrimaryElectionEvent extends Object implements ConnectorEvent
An event that signals that a primary election has occurred.
Author:
Chris Cranford
  • Field Details

    • primaryAddress

      private final com.mongodb.ServerAddress primaryAddress
  • Constructor Details

    • PrimaryElectionEvent

      public PrimaryElectionEvent(com.mongodb.ServerAddress primaryAddress)
  • Method Details

    • getPrimaryAddress

      public com.mongodb.ServerAddress getPrimaryAddress()