java.io.Serializable, java.lang.Comparable<HAServiceProtocol.RequestSource>public static enum HAServiceProtocol.RequestSource extends java.lang.Enum<HAServiceProtocol.RequestSource>
| Enum Constant | Description |
|---|---|
REQUEST_BY_USER |
|
REQUEST_BY_USER_FORCED |
|
REQUEST_BY_ZKFC |
| Modifier and Type | Method | Description |
|---|---|---|
static HAServiceProtocol.RequestSource |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HAServiceProtocol.RequestSource[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HAServiceProtocol.RequestSource REQUEST_BY_USER
public static final HAServiceProtocol.RequestSource REQUEST_BY_USER_FORCED
public static final HAServiceProtocol.RequestSource REQUEST_BY_ZKFC
public static HAServiceProtocol.RequestSource[] values()
for (HAServiceProtocol.RequestSource c : HAServiceProtocol.RequestSource.values()) System.out.println(c);
public static HAServiceProtocol.RequestSource 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 nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.