public static enum ICloseControllingException.CloseType extends Enum<ICloseControllingException.CloseType>
Enum Constant and Description |
---|
DEFAULT
A session should be quickly closed (default).
|
GENTLE
A session should be gently closed.
|
NONE
A session should not be closed.
|
Modifier and Type | Method and Description |
---|---|
static ICloseControllingException.CloseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ICloseControllingException.CloseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ICloseControllingException.CloseType GENTLE
ISession.close()
public static final ICloseControllingException.CloseType DEFAULT
ISession.quickClose()
public static final ICloseControllingException.CloseType NONE
public static ICloseControllingException.CloseType[] values()
for (ICloseControllingException.CloseType c : ICloseControllingException.CloseType.values()) System.out.println(c);
public static ICloseControllingException.CloseType 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 nullCopyright © 2017–2022 SNF4J.ORG. All rights reserved.