Purpose

Specifies the number of endpoints for which sampling can fail before the driver fails the connection.

Valid Values

-1 | x

where:

x

is the number of endpoints for which sampling can fail before the driver fails the connection. This value can be an integer from 0 to 1024.

Behavior

If set to -1, the driver only fails the connection if sampling for every endpoint in the Model fails. If the connection fails, the driver returns an error message.

If set to x, the driver fails the connection and returns an error message if the number of endpoints in the model that are unable to be sampled exceeds the specified number.

Notes

You can troubleshoot endpoints in your Model by querying the INFORMATION_SCHEMA.SYSTEM_SAMPLING_STATUS table. This table provides sampling status information for all the endpoints that you specified in your Model. If your connection is failing, we recommend that you set SamplingFailureTolerance=-1 to ensure status from all your endpoints are included in the table.

Data Source Methods

public Integer getSamplingFailureTolerance()

public void setSamplingFailureTolerance(Integer)

Default Value

-1

Data Type

Integer