java.io.Serializable, java.lang.Comparable<DomainSocketFactory.PathState>public static enum DomainSocketFactory.PathState extends java.lang.Enum<DomainSocketFactory.PathState>
| Enum Constant | Description |
|---|---|
SHORT_CIRCUIT_DISABLED |
|
UNUSABLE |
|
VALID |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
getUsableForDataTransfer() |
|
boolean |
getUsableForShortCircuit() |
|
static DomainSocketFactory.PathState |
valueOf(java.lang.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(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 boolean getUsableForDataTransfer()
public boolean getUsableForShortCircuit()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.