Class ClusterConfig

    • Constructor Detail

      • ClusterConfig

        public ClusterConfig​(String id,
                             long syncDelay,
                             JournalFactory jf)
        Creates a new cluster configuration.
        Parameters:
        id - custom cluster node id
        syncDelay - syncDelay, in milliseconds
        jf - journal factory
      • ClusterConfig

        public ClusterConfig​(String id,
                             long syncDelay,
                             long stopDelay,
                             JournalFactory jf)
        Creates a new cluster configuration.
        Parameters:
        id - custom cluster node id
        syncDelay - syncDelay, in milliseconds
        stopDelay - stopDelay in milliseconds
        jf - journal factory
    • Method Detail

      • getId

        public String getId()
        Return the id configuration attribute value.
        Returns:
        id attribute value
      • getSyncDelay

        public long getSyncDelay()
        Return the syncDelay configuration attribute value.
        Returns:
        syncDelay
      • getStopDelay

        public long getStopDelay()
        Returns:
        stopDelay the stopDelay configuration attribute value.