public enum WanSyncStatus extends Enum<WanSyncStatus>
WanSyncStatus
shows the current status of WAN sync.Enum Constant and Description |
---|
FAILED
Indicates sync operation is unsuccessful.
|
IN_PROGRESS
Indicates a sync operation is in progress on the member.
|
READY
Indicates existing sync operation, if exists, is completed
and/or member is available for new sync requests.
|
Modifier and Type | Method and Description |
---|---|
static WanSyncStatus |
getByStatus(int status) |
int |
getStatus() |
static WanSyncStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WanSyncStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WanSyncStatus READY
public static final WanSyncStatus IN_PROGRESS
public static final WanSyncStatus FAILED
public static WanSyncStatus[] values()
for (WanSyncStatus c : WanSyncStatus.values()) System.out.println(c);
public static WanSyncStatus 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 int getStatus()
public static WanSyncStatus getByStatus(int status)
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.