|
Oracle® Database JDBC Java API Reference 11g Release 2 ("11.2.0.0.1-Beta-1") BETA E13995-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
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(java.lang.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 |
---|
compareTo, equals, 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(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 final int getMode()
|
Oracle® Database JDBC Java API Reference 11g Release 2 ("11.2.0.0.1-Beta-1") BETA E13995-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |