Class FollowerBean

    • Method Detail

      • getElectionTimeTaken

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

        public int getObserverMasterPacketSizeLimit()
        Specified by:
        getObserverMasterPacketSizeLimit in interface FollowerMXBean
        Returns:
        the size limit in bytes for the observer master commit packet queue
      • setObserverMasterPacketSizeLimit

        public void setObserverMasterPacketSizeLimit​(int sizeLimit)
        Description copied from interface: FollowerMXBean
        set the size limit in bytes for the observer master commit packet queue
        Specified by:
        setObserverMasterPacketSizeLimit in interface FollowerMXBean
      • getMaxConcurrentSnapSyncs

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

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

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

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