com.espertech.esper.client
Class ConfigurationDBRef.ConnectionSettings

java.lang.Object
  extended by com.espertech.esper.client.ConfigurationDBRef.ConnectionSettings
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ConfigurationDBRef

public static class ConfigurationDBRef.ConnectionSettings
extends java.lang.Object
implements java.io.Serializable

Supplies connectioon-level settings for a given database name.

See Also:
Serialized Form

Constructor Summary
ConfigurationDBRef.ConnectionSettings()
           
 
Method Summary
 java.lang.Boolean getAutoCommit()
          Returns a boolean indicating auto-commit, or null if not set and default accepted.
 java.lang.String getCatalog()
          Gets the name of the catalog to set on new database connections, or null for default.
 java.lang.Boolean getReadOnly()
          Returns a boolean indicating read-only, or null if not set and default accepted.
 java.lang.Integer getTransactionIsolation()
          Returns the connection settings for transaction isolation level.
 void setAutoCommit(java.lang.Boolean autoCommit)
          Indicates whether to set any new connections for this database to auto-commit.
 void setCatalog(java.lang.String catalog)
          Sets the name of the catalog on new database connections.
 void setReadOnly(java.lang.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

ConfigurationDBRef.ConnectionSettings

public ConfigurationDBRef.ConnectionSettings()
Method Detail

getAutoCommit

public java.lang.Boolean getAutoCommit()
Returns a boolean indicating auto-commit, or null if not set and default accepted.

Returns:
true for auto-commit on, false for auto-commit off, or null to accept the default

setAutoCommit

public void setAutoCommit(java.lang.Boolean autoCommit)
Indicates whether to set any new connections for this database to auto-commit.

Parameters:
autoCommit - true to set connections to auto-commit, or false, or null to not set this value on a new connection

getCatalog

public java.lang.String getCatalog()
Gets the name of the catalog to set on new database connections, or null for default.

Returns:
name of the catalog to set, or null to accept the default

setCatalog

public void setCatalog(java.lang.String catalog)
Sets the name of the catalog on new database connections.

Parameters:
catalog - is the name of the catalog to set, or null to accept the default

getReadOnly

public java.lang.Boolean getReadOnly()
Returns a boolean indicating read-only, or null if not set and default accepted.

Returns:
true for read-only on, false for read-only off, or null to accept the default

setReadOnly

public void setReadOnly(java.lang.Boolean readOnly)
Indicates whether to set any new connections for this database to read-only.

Parameters:
readOnly - true to set connections to read-only, or false, or null to not set this value on a new connection

getTransactionIsolation

public java.lang.Integer getTransactionIsolation()
Returns the connection settings for transaction isolation level.

Returns:
transaction isolation level

setTransactionIsolation

public void setTransactionIsolation(int transactionIsolation)
Sets the transaction isolation level for new database connections, can be null to accept the default.

Parameters:
transactionIsolation - transaction isolation level

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com