java.io.Serializable, java.lang.Comparable<TransferFsImage.TransferResult>public static enum TransferFsImage.TransferResult extends java.lang.Enum<TransferFsImage.TransferResult>
| Enum Constant | Description |
|---|---|
AUTHENTICATION_FAILURE |
|
NOT_ACTIVE_NAMENODE_FAILURE |
|
OLD_TRANSACTION_ID_FAILURE |
|
SUCCESS |
|
UNEXPECTED_FAILURE |
| Modifier and Type | Method | Description |
|---|---|---|
static TransferFsImage.TransferResult |
getResultForCode(int code) |
|
static TransferFsImage.TransferResult |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TransferFsImage.TransferResult[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferFsImage.TransferResult SUCCESS
public static final TransferFsImage.TransferResult AUTHENTICATION_FAILURE
public static final TransferFsImage.TransferResult NOT_ACTIVE_NAMENODE_FAILURE
public static final TransferFsImage.TransferResult OLD_TRANSACTION_ID_FAILURE
public static final TransferFsImage.TransferResult UNEXPECTED_FAILURE
public static TransferFsImage.TransferResult[] values()
for (TransferFsImage.TransferResult c : TransferFsImage.TransferResult.values()) System.out.println(c);
public static TransferFsImage.TransferResult 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 nullpublic static TransferFsImage.TransferResult getResultForCode(int code)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.