Class LeaderConfig


  • @Immutable
    public abstract class LeaderConfig
    extends Object
    • Constructor Detail

      • LeaderConfig

        public LeaderConfig()
    • Method Detail

      • quorumSize

        public abstract int quorumSize()
      • learnerLogDir

        @Default
        public File learnerLogDir()
      • acceptorLogDir

        @Default
        public File acceptorLogDir()
      • localServer

        public abstract String localServer()
      • leaders

        @Size(min=1)
        public abstract @Size(min=1) Set<String> leaders()
      • sslConfiguration

        public abstract Optional<com.palantir.conjure.java.api.config.ssl.SslConfiguration> sslConfiguration()
      • pingRate

        @Derived
        @Auxiliary
        public java.time.Duration pingRate()
      • randomWaitBeforeProposingLeadership

        @Derived
        @Auxiliary
        public java.time.Duration randomWaitBeforeProposingLeadership()
      • leaderPingResponseWait

        @Derived
        @Auxiliary
        public java.time.Duration leaderPingResponseWait()
      • leaderAddressCacheTtl

        @Default
        public java.time.Duration leaderAddressCacheTtl()
      • check

        @Check
        protected final void check()