public static enum StreamClient.ShardState extends Enum<StreamClient.ShardState>
Modifier and Type | Method and Description |
---|---|
static StreamClient.ShardState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamClient.ShardState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamClient.ShardState UNLOADED
public static final StreamClient.ShardState LOADED
public static final StreamClient.ShardState LOADING
public static StreamClient.ShardState[] values()
for (StreamClient.ShardState c : StreamClient.ShardState.values()) System.out.println(c);
public static StreamClient.ShardState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Alibaba Cloud Computing. All rights reserved.