Builder

class Builder : CoreEnvironment.Builder<ClusterEnvironment.Builder>

Used for configuring cluster environment settings, or creating a shared cluster environment.

Call ClusterEnvironment.builder to create a new instance.

Functions

Link copied to clipboard
@Stability.Internal
open fun addRequestCallback(p0: RequestCallback): ClusterEnvironment.Builder
Link copied to clipboard
open override fun build(): ClusterEnvironment

Creates a ClusterEnvironment from the values of this builder.

Link copied to clipboard
open fun compressionConfig(): CompressionConfig.Builder
open fun compressionConfig(p0: CompressionConfig.Builder): ClusterEnvironment.Builder
Link copied to clipboard
fun cryptoManager(cryptoManager: CryptoManager?): ClusterEnvironment.Builder

Sets the cryptography manager for Field-Level Encryption (reading and writing encrypted document fields).

Link copied to clipboard
@Stability.Uncommitted
open override fun eventBus(eventBus: EventBus?): ClusterEnvironment.Builder
Link copied to clipboard
open fun ioConfig(): IoConfig.Builder
open fun ioConfig(p0: IoConfig.Builder): ClusterEnvironment.Builder
Link copied to clipboard
open fun ioEnvironment(): IoEnvironment.Builder
open fun ioEnvironment(p0: IoEnvironment.Builder): ClusterEnvironment.Builder
Link copied to clipboard
open fun ioEnvironmentConfig(): IoEnvironment.Builder
Link copied to clipboard
fun jsonSerializer(jsonSerializer: JsonSerializer?): ClusterEnvironment.Builder

Sets the default serializer for converting between JSON and Java objects.

Link copied to clipboard
open fun load(p0: PropertyLoader<CoreEnvironment.Builder<*>>): ClusterEnvironment.Builder

fun load(loader: ClusterPropertyLoader): ClusterEnvironment.Builder

Immediately loads the properties from the given loader into the environment.

Link copied to clipboard
open fun loggerConfig(): LoggerConfig.Builder
open fun loggerConfig(p0: LoggerConfig.Builder): ClusterEnvironment.Builder
Link copied to clipboard
open fun loggingMeterConfig(): LoggingMeterConfig.Builder
open fun loggingMeterConfig(p0: LoggingMeterConfig.Builder): ClusterEnvironment.Builder
Link copied to clipboard
open fun maxNumRequestsInRetry(p0: Long): ClusterEnvironment.Builder
Link copied to clipboard
@Stability.Uncommitted
open override fun meter(meter: Meter?): ClusterEnvironment.Builder
Link copied to clipboard
open fun orphanReporterConfig(): OrphanReporterConfig.Builder
open fun orphanReporterConfig(p0: OrphanReporterConfig.Builder): ClusterEnvironment.Builder
Link copied to clipboard
@Stability.Uncommitted
open override fun requestTracer(requestTracer: RequestTracer?): ClusterEnvironment.Builder
Link copied to clipboard
open fun retryStrategy(p0: RetryStrategy): ClusterEnvironment.Builder
Link copied to clipboard
@Stability.Uncommitted
open override fun scheduler(scheduler: Scheduler?): ClusterEnvironment.Builder
Link copied to clipboard
@Stability.Uncommitted
open override fun schedulerThreadCount(schedulerThreadCount: Int): ClusterEnvironment.Builder
Link copied to clipboard
open fun securityConfig(): SecurityConfig.Builder
open fun securityConfig(p0: SecurityConfig.Builder): ClusterEnvironment.Builder
Link copied to clipboard
open fun self(): ClusterEnvironment.Builder
Link copied to clipboard
open fun thresholdLoggingTracerConfig(): ThresholdLoggingTracerConfig.Builder
open fun thresholdLoggingTracerConfig(p0: ThresholdLoggingTracerConfig.Builder): ClusterEnvironment.Builder
Link copied to clipboard
open fun thresholdRequestTracerConfig(): ThresholdRequestTracerConfig.Builder
open fun thresholdRequestTracerConfig(p0: ThresholdRequestTracerConfig.Builder): ClusterEnvironment.Builder
Link copied to clipboard
open fun timeoutConfig(): TimeoutConfig.Builder
open fun timeoutConfig(p0: TimeoutConfig.Builder): ClusterEnvironment.Builder
Link copied to clipboard
fun transcoder(transcoder: Transcoder?): ClusterEnvironment.Builder

Specifies the default transcoder for all KV operations.

Properties

Link copied to clipboard
val transactionsConfig: CoreTransactionsConfig