|
Franz Inc, AllegroGraph | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AGConnProp.Session>
com.franz.agraph.pool.AGConnProp.Session
public static enum AGConnProp.Session
Property values for AGConnProp.session
.
Enum Constant Summary | |
---|---|
DEDICATED
Calls AGRepositoryConnection.setAutoCommit(boolean) with true. |
|
SHARED
No dedicated session, and autoCommit is true (that is, AGRepositoryConnection.setAutoCommit(boolean) is not called). |
|
TX
Calls AGRepositoryConnection.setAutoCommit(boolean) with false. |
Method Summary | |
---|---|
static AGConnProp.Session |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AGConnProp.Session[] |
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 AGConnProp.Session SHARED
AGRepositoryConnection.setAutoCommit(boolean)
is not called).
public static final AGConnProp.Session DEDICATED
AGRepositoryConnection.setAutoCommit(boolean)
with true.
public static final AGConnProp.Session TX
AGRepositoryConnection.setAutoCommit(boolean)
with false.
Method Detail |
---|
public static AGConnProp.Session[] values()
for (AGConnProp.Session c : AGConnProp.Session.values()) System.out.println(c);
public static AGConnProp.Session valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
Copyright © 2008-2011 Franz Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |