|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.client.ConfigurationDBRef.ConnectionSettings
public static class ConfigurationDBRef.ConnectionSettings
Supplies connectioon-level settings for a given database name.
Constructor Summary | |
---|---|
ConfigurationDBRef.ConnectionSettings()
|
Method Summary | |
---|---|
Boolean |
getAutoCommit()
Returns a boolean indicating auto-commit, or null if not set and default accepted. |
String |
getCatalog()
Gets the name of the catalog to set on new database connections, or null for default. |
Boolean |
getReadOnly()
Returns a boolean indicating read-only, or null if not set and default accepted. |
Integer |
getTransactionIsolation()
Returns the connection settings for transaction isolation level. |
void |
setAutoCommit(Boolean autoCommit)
Indicates whether to set any new connections for this database to auto-commit. |
void |
setCatalog(String catalog)
Sets the name of the catalog on new database connections. |
void |
setReadOnly(Boolean readOnly)
Indicates whether to set any new connections for this database to read-only. |
void |
setTransactionIsolation(int transactionIsolation)
Sets the transaction isolation level for new database connections, can be null to accept the default. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationDBRef.ConnectionSettings()
Method Detail |
---|
public Boolean getAutoCommit()
public void setAutoCommit(Boolean autoCommit)
autoCommit
- true to set connections to auto-commit, or false, or null to not set this value on a new connectionpublic String getCatalog()
public void setCatalog(String catalog)
catalog
- is the name of the catalog to set, or null to accept the defaultpublic Boolean getReadOnly()
public void setReadOnly(Boolean readOnly)
readOnly
- true to set connections to read-only, or false, or null to not set this value on a new connectionpublic Integer getTransactionIsolation()
public void setTransactionIsolation(int transactionIsolation)
transactionIsolation
- transaction isolation level
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |