Click or drag to resize

MetadataSyncOptions Methods

The MetadataSyncOptions type exposes the following members.

Methods
  NameDescription
Public methodSetMaxTotalRefreshSchemaDelay

The default value is

10000
.

The driver will never wait more than maxTotalRefreshSchemaDelay milliseconds until a schema or topology refresh event is processed even if events keep being scheduled for processing.

Public methodSetMetadataSyncEnabled

The default value is

true
.

Enables or disables the Metadata synchronization feature of the driver. See the api reference for WithMetadataSyncOptions(MetadataSyncOptions) for a more thorough explanation.

Public methodSetRefreshSchemaDelayIncrement

The default value is

1000
.

The driver will wait refreshSchemaDelayIncrement milliseconds until it processes a schema or topology refresh event. If another event gets scheduled to be processed within this interval, then the driver will cancel the first execution and will wait another refreshSchemaDelayIncrement milliseconds until it processes both events. As long as events keep coming in, then the driver will keep postponing the execution up until MaxTotalRefreshSchemaDelay milliseconds have passed since the first unprocessed event was scheduled.

Top
See Also