Uses of Class
com.datastax.driver.core.policies.ErrorAwarePolicy.Builder
-
Packages that use ErrorAwarePolicy.Builder Package Description com.datastax.driver.core.policies Policies that allow to control some of the behavior of the ScyllaDB Java driver. -
-
Uses of ErrorAwarePolicy.Builder in com.datastax.driver.core.policies
Methods in com.datastax.driver.core.policies that return ErrorAwarePolicy.Builder Modifier and Type Method Description static ErrorAwarePolicy.BuilderErrorAwarePolicy. builder(LoadBalancingPolicy childPolicy)Creates a new error aware policy builder given the child policy that the resulting policy should wrap.ErrorAwarePolicy.BuilderErrorAwarePolicy.Builder. withErrorsFilter(ErrorAwarePolicy.ErrorFilter errorFilter)Provides a filter that will decide which errors are counted towardswithMaxErrorsPerMinute(int).ErrorAwarePolicy.BuilderErrorAwarePolicy.Builder. withMaxErrorsPerMinute(int maxErrorsPerMinute)Defines the maximum number of errors allowed per minute for each host.ErrorAwarePolicy.BuilderErrorAwarePolicy.Builder. withRetryPeriod(long retryPeriod, TimeUnit retryPeriodTimeUnit)Defines the time during which a host is excluded by the policy once it has exceededwithMaxErrorsPerMinute(int).
-