public enum DataSyncEnum extends Enum<DataSyncEnum>
| Enum Constant and Description |
|---|
HTTP
Http data sync enum.
|
WEBSOCKET
Websocket data sync enum.
|
ZOOKEEPER
Zookeeper data sync enum.
|
| Modifier and Type | Method and Description |
|---|---|
static DataSyncEnum |
acquireByName(String name)
Acquire by name data sync enum.
|
static DataSyncEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSyncEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSyncEnum HTTP
public static final DataSyncEnum ZOOKEEPER
public static final DataSyncEnum WEBSOCKET
public static DataSyncEnum[] values()
for (DataSyncEnum c : DataSyncEnum.values()) System.out.println(c);
public static DataSyncEnum 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 nullpublic static DataSyncEnum acquireByName(String name)
name - the nameCopyright © 2021 The Apache Software Foundation. All rights reserved.