Class ErrorDetail
java.lang.Object
io.nosqlbench.engine.api.activityapi.errorhandling.modular.ErrorDetail
public class ErrorDetail
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classErrorDetail.Retry -
Field Summary
Fields Modifier and Type Field Description static ErrorDetailERROR_NONRETRYABLEstatic ErrorDetailERROR_RETRYABLEstatic ErrorDetailERROR_UNKNOWNjava.lang.Stringnamestatic ErrorDetailOKintresultCodeErrorDetail.Retryretryable -
Constructor Summary
Constructors Constructor Description ErrorDetail(java.lang.String name, ErrorDetail.Retry retryable, int resultCode) -
Method Summary
Modifier and Type Method Description booleanisRetryable()ErrorDetailwithResultCode(int resultCode)ErrorDetailwithRetryable()
-
Field Details
-
retryable
-
resultCode
public final int resultCode -
name
public final java.lang.String name -
OK
-
ERROR_NONRETRYABLE
-
ERROR_RETRYABLE
-
ERROR_UNKNOWN
-
-
Constructor Details
-
Method Details
-
isRetryable
public boolean isRetryable() -
withResultCode
-
withRetryable
-