public static enum ZKSplitLogManagerCoordination.TaskFinisher.Status extends Enum<ZKSplitLogManagerCoordination.TaskFinisher.Status>
Enum Constant and Description |
---|
DONE
task completed successfully
|
ERR
task completed with error
|
Modifier and Type | Method and Description |
---|---|
static ZKSplitLogManagerCoordination.TaskFinisher.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZKSplitLogManagerCoordination.TaskFinisher.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZKSplitLogManagerCoordination.TaskFinisher.Status DONE
public static final ZKSplitLogManagerCoordination.TaskFinisher.Status ERR
public static ZKSplitLogManagerCoordination.TaskFinisher.Status[] values()
for (ZKSplitLogManagerCoordination.TaskFinisher.Status c : ZKSplitLogManagerCoordination.TaskFinisher.Status.values()) System.out.println(c);
public static ZKSplitLogManagerCoordination.TaskFinisher.Status 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 nullCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.