public static enum MigrationEvent.MigrationStatus extends Enum<MigrationEvent.MigrationStatus>
Enum Constant and Description |
---|
COMPLETED
Migration has been completed
|
FAILED
Migration has failed
|
STARTED
Migration has been started
|
Modifier and Type | Method and Description |
---|---|
static MigrationEvent.MigrationStatus |
readFrom(DataInput in) |
static MigrationEvent.MigrationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigrationEvent.MigrationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static void |
writeTo(MigrationEvent.MigrationStatus status,
DataOutput out) |
public static final MigrationEvent.MigrationStatus STARTED
public static final MigrationEvent.MigrationStatus COMPLETED
public static final MigrationEvent.MigrationStatus FAILED
public static MigrationEvent.MigrationStatus[] values()
for (MigrationEvent.MigrationStatus c : MigrationEvent.MigrationStatus.values()) System.out.println(c);
public static MigrationEvent.MigrationStatus 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(MigrationEvent.MigrationStatus status, DataOutput out) throws IOException
IOException
public static MigrationEvent.MigrationStatus readFrom(DataInput in) throws IOException
IOException
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.