Serializable
, Comparable<OracleConnection.DatabaseShutdownMode>
public static enum OracleConnection.DatabaseShutdownMode extends Enum<OracleConnection.DatabaseShutdownMode>
Enum Constant | Description |
---|---|
ABORT |
Does not wait for current calls to complete or users to disconnect from the database.
|
CONNECT |
Further connects are prohibited.
|
FINAL |
Shuts down the database.
|
IMMEDIATE |
Does not wait for current calls to complete or users to disconnect from the database.
|
TRANSACTIONAL |
Further connects are prohibited and no new transactions are allowed.
|
TRANSACTIONAL_LOCAL |
Further connects are prohibited and no new transactions are allowed.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getMode() |
Implementation detail (for internal use only).
|
static OracleConnection.DatabaseShutdownMode |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static OracleConnection.DatabaseShutdownMode[] |
values() |
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final OracleConnection.DatabaseShutdownMode CONNECT
public static final OracleConnection.DatabaseShutdownMode TRANSACTIONAL
public static final OracleConnection.DatabaseShutdownMode TRANSACTIONAL_LOCAL
public static final OracleConnection.DatabaseShutdownMode IMMEDIATE
public static final OracleConnection.DatabaseShutdownMode ABORT
public static final OracleConnection.DatabaseShutdownMode FINAL
public static OracleConnection.DatabaseShutdownMode[] values()
for (OracleConnection.DatabaseShutdownMode c : OracleConnection.DatabaseShutdownMode.values()) System.out.println(c);
public static OracleConnection.DatabaseShutdownMode 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 final int getMode()