Click or drag to resize

BuilderWithMaxSchemaAgreementWaitSeconds Method

Sets the maximum time to wait for schema agreement before returning from a DDL query.

DDL queries introduce schema changes that need to be propagated to all nodes in the cluster. Once they have settled on a common version, we say that they are in agreement.

If not set through this method, the default value (10 seconds) will be used.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
public Builder WithMaxSchemaAgreementWaitSeconds(
	int maxSchemaAgreementWaitSeconds
)

Parameters

maxSchemaAgreementWaitSeconds
Type: SystemInt32
The new value to set.

Return Value

Type: Builder
This Builder.
Exceptions
ExceptionCondition
ArgumentExceptionIf the provided value is zero or less.
See Also