MetadataSyncOptions Class |
Namespace: Cassandra
public class MetadataSyncOptions
The MetadataSyncOptions type exposes the following members.
Name | Description | |
---|---|---|
MetadataSyncOptions | Initializes a new instance of the MetadataSyncOptions class |
Name | Description | |
---|---|---|
MaxTotalRefreshSchemaDelay |
Use SetMaxTotalRefreshSchemaDelay(Int64) to set this value. The default value is 10000 | |
MetadataSyncEnabled |
Use SetMetadataSyncEnabled(Boolean) to set this value. The default value is true | |
RefreshSchemaDelayIncrement |
Use SetRefreshSchemaDelayIncrement(Int64) to set this value. The default value is 1000 |
Name | Description | |
---|---|---|
SetMaxTotalRefreshSchemaDelay | 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. | |
SetMetadataSyncEnabled | 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. | |
SetRefreshSchemaDelayIncrement | 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. |