public enum FlushStrategy extends Enum<FlushStrategy>
Enum Constant and Description |
---|
ALLCONNECTIONS |
ALLGRACEFULLY |
ALLIDLECONNECTIONS |
ALLINVALIDIDLECONNECTIONS |
ENTIREPOOL |
FAILINGCONNECTIONONLY |
GRACEFULLY |
IDLECONNECTIONS |
INVALIDIDLECONNECTIONS |
Modifier and Type | Method and Description |
---|---|
String |
getAllowedValue()
Returns the allowed value for the management model.
|
String |
toString() |
static FlushStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlushStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlushStrategy FAILINGCONNECTIONONLY
public static final FlushStrategy INVALIDIDLECONNECTIONS
public static final FlushStrategy IDLECONNECTIONS
public static final FlushStrategy GRACEFULLY
public static final FlushStrategy ENTIREPOOL
public static final FlushStrategy ALLINVALIDIDLECONNECTIONS
public static final FlushStrategy ALLIDLECONNECTIONS
public static final FlushStrategy ALLGRACEFULLY
public static final FlushStrategy ALLCONNECTIONS
public static FlushStrategy[] values()
for (FlushStrategy c : FlushStrategy.values()) System.out.println(c);
public static FlushStrategy 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 getAllowedValue()
public String toString()
toString
in class Enum<FlushStrategy>
Copyright © 2019 JBoss by Red Hat. All rights reserved.