java.io.Serializable, java.lang.Comparable<HdfsConstants.StoragePolicySatisfierMode>public static enum HdfsConstants.StoragePolicySatisfierMode extends java.lang.Enum<HdfsConstants.StoragePolicySatisfierMode>
| Enum Constant | Description |
|---|---|
EXTERNAL |
This mode represents that SPS service is running outside Namenode as an
external service and can accept any SPS call request.
|
NONE |
This mode represents that SPS service is disabled and cannot accept any
SPS call request.
|
| Modifier and Type | Method | Description |
|---|---|---|
static HdfsConstants.StoragePolicySatisfierMode |
fromString(java.lang.String s) |
Convert the given String to a StoragePolicySatisfierMode.
|
static HdfsConstants.StoragePolicySatisfierMode |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HdfsConstants.StoragePolicySatisfierMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HdfsConstants.StoragePolicySatisfierMode EXTERNAL
public static final HdfsConstants.StoragePolicySatisfierMode NONE
public static HdfsConstants.StoragePolicySatisfierMode[] values()
for (HdfsConstants.StoragePolicySatisfierMode c : HdfsConstants.StoragePolicySatisfierMode.values()) System.out.println(c);
public static HdfsConstants.StoragePolicySatisfierMode 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 HdfsConstants.StoragePolicySatisfierMode fromString(java.lang.String s)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.