final case class SchemaConfig(enabled: Boolean = SchemaConfig.Default.enabled, refreshedKeyspaces: List[String] = SchemaConfig.Default.refreshedKeyspaces, requestTimeout: Duration = SchemaConfig.Default.requestTimeout, requestPageSize: Int = SchemaConfig.Default.requestPageSize, debouncer: DebouncerConfig = SchemaConfig.Default.debouncer) extends Product with Serializable
Options relating to schema metadata (Cluster.getMetadata.getKeyspaces). This metadata is exposed by the driver for informational purposes, and is also necessary for token-aware routing.
- enabled
Whether schema metadata is enabled. If this is false, the schema will remain empty, or to the last known value.
- refreshedKeyspaces
The list of keyspaces for which schema and token metadata should be maintained. If this property is absent or empty, all existing keyspaces are processed.
- requestTimeout
The timeout for the requests to the schema tables.
- requestPageSize
The page size for the requests to the schema tables.
- debouncer
Protects against bursts of schema updates.
- Alphabetic
- By Inheritance
- SchemaConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SchemaConfig(enabled: Boolean = SchemaConfig.Default.enabled, refreshedKeyspaces: List[String] = SchemaConfig.Default.refreshedKeyspaces, requestTimeout: Duration = SchemaConfig.Default.requestTimeout, requestPageSize: Int = SchemaConfig.Default.requestPageSize, debouncer: DebouncerConfig = SchemaConfig.Default.debouncer)
- enabled
Whether schema metadata is enabled. If this is false, the schema will remain empty, or to the last known value.
- refreshedKeyspaces
The list of keyspaces for which schema and token metadata should be maintained. If this property is absent or empty, all existing keyspaces are processed.
- requestTimeout
The timeout for the requests to the schema tables.
- requestPageSize
The page size for the requests to the schema tables.
- debouncer
Protects against bursts of schema updates.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val debouncer: DebouncerConfig
- val enabled: Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val refreshedKeyspaces: List[String]
- val requestPageSize: Int
- val requestTimeout: Duration
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])