public static enum DomainSocketFactory.PathState extends Enum<DomainSocketFactory.PathState>
Enum Constant and Description |
---|
SHORT_CIRCUIT_DISABLED |
UNUSABLE |
VALID |
Modifier and Type | Method and Description |
---|---|
boolean |
getUsableForDataTransfer() |
boolean |
getUsableForShortCircuit() |
static DomainSocketFactory.PathState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DomainSocketFactory.PathState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DomainSocketFactory.PathState UNUSABLE
public static final DomainSocketFactory.PathState SHORT_CIRCUIT_DISABLED
public static final DomainSocketFactory.PathState VALID
public static DomainSocketFactory.PathState[] values()
for (DomainSocketFactory.PathState c : DomainSocketFactory.PathState.values()) System.out.println(c);
public static DomainSocketFactory.PathState 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 boolean getUsableForDataTransfer()
public boolean getUsableForShortCircuit()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.