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:
Dse
Assembly:
Dse (in Dse.dll) Version: 2.6.0
Syntax public Builder WithMaxSchemaAgreementWaitSeconds(
int maxSchemaAgreementWaitSeconds
)
Parameters
- maxSchemaAgreementWaitSeconds
- Type: SystemInt32
The new value to set.
Return Value
Type:
BuilderThis Builder.
Exceptions Exception | Condition |
---|
ArgumentException | If the provided value is zero or less. |
See Also