public enum DataSyncEnum extends java.lang.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(java.lang.String name)
Acquire by name data sync enum.
|
java.lang.String |
getName()
get name.
|
static DataSyncEnum |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public static DataSyncEnum acquireByName(java.lang.String name)
name - the nameCopyright © 2024 The Apache Software Foundation. All rights reserved.