public enum BucketType extends Enum<BucketType>
| 枚举常量和说明 |
|---|
Archive
用于不频繁访问但在需要时也要求快速访问的数据。
|
EXTREME_PL1
极速存储类型
|
EXTREME_PL2 |
EXTREME_PL3 |
IA
低频存储桶类型
|
Normal
默认的KS3存储类型。
|
UNKNOWN
未知类型,当ks3有新的类型,而本SDK暂不支持时,返回该未知类型
|
| 限定符和类型 | 方法和说明 |
|---|---|
static BucketType |
fromValue(String typeString) |
String |
toString() |
static BucketType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static BucketType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final BucketType EXTREME_PL1
public static final BucketType EXTREME_PL2
public static final BucketType EXTREME_PL3
public static final BucketType Normal
public static final BucketType IA
public static final BucketType Archive
public static final BucketType UNKNOWN
public static BucketType[] values()
for (BucketType c : BucketType.values()) System.out.println(c);
public static BucketType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static BucketType fromValue(String typeString) throws IllegalArgumentException
public String toString()
toString 在类中 Enum<BucketType>Copyright © 2024. All rights reserved.