Class 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 Detail

      • primaryAddress

        private final com.mongodb.ServerAddress primaryAddress
    • Constructor Detail

      • PrimaryElectionEvent

        public PrimaryElectionEvent​(com.mongodb.ServerAddress primaryAddress)
    • Method Detail

      • getPrimaryAddress

        public com.mongodb.ServerAddress getPrimaryAddress()