public enum WriterRetryStrategy extends Enum<WriterRetryStrategy>
| 枚举常量和说明 |
|---|
CERTAIN_ERROR_CODE_NOT_RETRY
Given a set of error codes that do not require retrying.
|
CERTAIN_ERROR_CODE_RETRY
Given a set of error codes that need to be retried.
|
public static final WriterRetryStrategy CERTAIN_ERROR_CODE_RETRY
public static final WriterRetryStrategy CERTAIN_ERROR_CODE_NOT_RETRY
public static WriterRetryStrategy[] values()
for (WriterRetryStrategy c : WriterRetryStrategy.values()) System.out.println(c);
public static WriterRetryStrategy valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2025. All Rights Reserved.