Class ClientConfig

java.lang.Object
com.twicedb.client.config.ClientConfig

public class ClientConfig extends Object
A class holding the runtime configuration values of a client.
  • Constructor Details

    • ClientConfig

      public ClientConfig()
    • ClientConfig

      public ClientConfig(String certFile, String keyFile, String caFile, String keystoreFile, String truststoreFile)
  • Method Details

    • getReaderAddress

      public String getReaderAddress()
    • getWriterAddress

      public String getWriterAddress()
    • getZkAddress

      public String getZkAddress()
    • setZkAddress

      public ClientConfig setZkAddress(String zkAddress)
    • getShard

      public Integer getShard()
    • getCertFile

      public String getCertFile()
    • getKeyFile

      public String getKeyFile()
    • getCAFile

      public String getCAFile()
    • getKeystoreFile

      public String getKeystoreFile()
    • getKeystorePassword

      public String getKeystorePassword()
    • getTruststoreFile

      public String getTruststoreFile()
    • getTruststorePassword

      public String getTruststorePassword()
    • getReadQueueCapacity

      public int getReadQueueCapacity()
    • getWriteQueueCapacity

      public int getWriteQueueCapacity()
    • getMinCompressionSize

      public int getMinCompressionSize()
    • getPackagePrefixes

      public List<String> getPackagePrefixes()