|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<OracleConnection.DatabaseShutdownMode>
oracle.jdbc.OracleConnection.DatabaseShutdownMode
public static enum OracleConnection.DatabaseShutdownMode
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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()
|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |