public enum MigrationEndpoint extends Enum<MigrationEndpoint>
| Enum Constant and Description |
|---|
DESTINATION |
SOURCE |
| Modifier and Type | Method and Description |
|---|---|
static MigrationEndpoint |
readFrom(DataInput in) |
static MigrationEndpoint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigrationEndpoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static void |
writeTo(MigrationEndpoint endpoint,
DataOutput out) |
public static final MigrationEndpoint SOURCE
public static final MigrationEndpoint DESTINATION
public static MigrationEndpoint[] values()
for (MigrationEndpoint c : MigrationEndpoint.values()) System.out.println(c);
public static MigrationEndpoint 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 void writeTo(MigrationEndpoint endpoint, DataOutput out) throws IOException
IOExceptionpublic static MigrationEndpoint readFrom(DataInput in) throws IOException
IOExceptionCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.