Class CassandraKeyValueServiceRuntimeConfig

  • All Implemented Interfaces:
    com.palantir.atlasdb.spi.KeyValueServiceRuntimeConfig
    Direct Known Subclasses:
    CassandraReloadableKeyValueServiceRuntimeConfig

    @AutoService(com.palantir.atlasdb.spi.KeyValueServiceRuntimeConfig.class)
    @Immutable
    public abstract class CassandraKeyValueServiceRuntimeConfig
    extends Object
    implements com.palantir.atlasdb.spi.KeyValueServiceRuntimeConfig
    • Constructor Detail

      • CassandraKeyValueServiceRuntimeConfig

        public CassandraKeyValueServiceRuntimeConfig()
    • Method Detail

      • type

        public String type()
        Specified by:
        type in interface com.palantir.atlasdb.spi.KeyValueServiceRuntimeConfig
      • replicationFactor

        @Default
        public Integer replicationFactor()
      • unresponsiveHostBackoffTimeSeconds

        @Default
        public int unresponsiveHostBackoffTimeSeconds()
        The minimal period we wait to check if a Cassandra node is healthy after it's been blacklisted.
      • mutationBatchCount

        @Default
        public int mutationBatchCount()
        The maximum amount of cells that each thread writes to Cassandra at a time.
      • mutationBatchSizeBytes

        @Default
        public int mutationBatchSizeBytes()
        The maximum amount of bytes that each thread writes to Cassandra at a time.
      • fetchBatchCount

        @Default
        public int fetchBatchCount()
        The maximum number of rows to query for in a single call to the database when loading entire rows.
      • cellLoadingConfig

        @Default
        public CassandraCellLoadingConfig cellLoadingConfig()
        Limits on query sizes when loading cells from an underlying Cassandra key-value service.
      • sweepReadThreads

        @Default
        public Integer sweepReadThreads()
        The number of threads Sweep uses to read values from Cassandra. Each thread fetches values from a distinct row.
      • numberOfRetriesOnSameHost

        @Default
        public int numberOfRetriesOnSameHost()
        The number of times a call to Cassandra retries a single host.
      • numberOfRetriesOnAllHosts

        @Default
        public int numberOfRetriesOnAllHosts()
        The maximum number of times a call to Cassandra retries.
      • fetchReadLimitPerRow

        @Default
        public int fetchReadLimitPerRow()
      • conservativeRequestExceptionHandler

        @Default
        public boolean conservativeRequestExceptionHandler()
        Setting this value to true will cause us to take a more conservative approach to retrying requests on exceptions.
      • tracing

        @Default
        public CassandraTracingConfig tracing()
        Config that controls which cassandra queries will be traced. The default is nothing is traced.