public static interface ErrorAwarePolicy.ErrorFilter
ErrorAwarePolicy. Only errors that indicate something wrong with a host should lead to its exclusion from query plans.
|Modifier and Type||Method and Description|
Whether an error should be counted in the host's error rate.
boolean shouldConsiderError(Exception e, Host host, Statement statement)
e- the exception.
host- the host.
statement- the statement that caused the exception.
trueif the exception should be counted.
Copyright © 2012–2018. All rights reserved.