public enum Policy extends Enum<Policy>
Enum Constant and Description |
---|
FAIR
Transfer using adaptive mode for being fair to other flows.
|
FIXED
Transfer using fixed mode for constant transfer at the specified rate.
|
HIGH |
LOW
Transfer using trickle mode for utilizing unused bandwidth.
|
Modifier and Type | Field and Description |
---|---|
static Policy |
DEFAULT
The default policy value.
|
Modifier and Type | Method and Description |
---|---|
static Policy |
fromMgmtValue(String mgmtValue) |
String |
getCommandLineOption() |
String |
getDescription() |
String |
getMgmtValue() |
String |
toString() |
static Policy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Policy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Policy FIXED
public static final Policy FAIR
public static final Policy HIGH
public static final Policy LOW
public static final Policy DEFAULT
public static Policy[] values()
for (Policy c : Policy.values()) System.out.println(c);
public static Policy 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 String getMgmtValue()
public String getCommandLineOption()
public String getDescription()
Copyright © 2015 Aspera Inc.. All rights reserved.