Class LeaderBean

    • Method Detail

      • getElectionTimeTaken

        public long getElectionTimeTaken()
        Specified by:
        getElectionTimeTaken in interface LeaderMXBean
        Returns:
        time taken for leader election in milliseconds.
      • getLastProposalSize

        public int getLastProposalSize()
        Specified by:
        getLastProposalSize in interface LeaderMXBean
        Returns:
        size of latest generated proposal
      • getMinProposalSize

        public int getMinProposalSize()
        Specified by:
        getMinProposalSize in interface LeaderMXBean
        Returns:
        size of smallest generated proposal
      • getMaxProposalSize

        public int getMaxProposalSize()
        Specified by:
        getMaxProposalSize in interface LeaderMXBean
        Returns:
        size of largest generated proposal
      • getMaxConcurrentSnapSyncs

        public int getMaxConcurrentSnapSyncs()
        Specified by:
        getMaxConcurrentSnapSyncs in interface LeaderMXBean
        Returns:
        Number of concurrent snapshots permitted to send to observers
      • setMaxConcurrentSnapSyncs

        public void setMaxConcurrentSnapSyncs​(int maxConcurrentSnapshots)
        Specified by:
        setMaxConcurrentSnapSyncs in interface LeaderMXBean
        Parameters:
        maxConcurrentSnapshots - Number of concurrent snapshots permitted to send to observers
      • getMaxConcurrentDiffSyncs

        public int getMaxConcurrentDiffSyncs()
        Specified by:
        getMaxConcurrentDiffSyncs in interface LeaderMXBean
        Returns:
        Number of concurrent diff syncs permitted to send to observers
      • setMaxConcurrentDiffSyncs

        public void setMaxConcurrentDiffSyncs​(int maxConcurrentDiffSyncs)
        Specified by:
        setMaxConcurrentDiffSyncs in interface LeaderMXBean
        Parameters:
        maxConcurrentDiffSyncs - Number of concurrent diff syncs permitted to send to observers