Codota Logo
AtomikosDataSourceBean.setBorrowConnectionTimeout
Code IndexAdd Codota to your IDE (free)

How to use
setBorrowConnectionTimeout
method
in
com.atomikos.jdbc.AtomikosDataSourceBean

Best Java code snippets using com.atomikos.jdbc.AtomikosDataSourceBean.setBorrowConnectionTimeout (Showing top 5 results out of 315)

  • Common ways to obtain AtomikosDataSourceBean
private void myMethod () {
AtomikosDataSourceBean a =
  • Codota Iconnew AtomikosDataSourceBean()
  • Smart code suggestions by Codota
}
origin: hs-web/hsweb-framework

atomikosDataSourceBean.setBorrowConnectionTimeout(getBorrowConnectionTimeout());
if (loginTimeout != 0) {
  try {
origin: apache/incubator-shardingsphere

private void setPoolProperties(final AtomikosDataSourceBean dataSourceBean, final YamlDataSourceParameter parameter) {
  dataSourceBean.setMaintenanceInterval((int) (parameter.getMaintenanceIntervalMilliseconds() / 1000));
  dataSourceBean.setMinPoolSize(parameter.getMinPoolSize() < 0 ? 0 : parameter.getMinPoolSize());
  dataSourceBean.setMaxPoolSize(parameter.getMaxPoolSize());
  dataSourceBean.setBorrowConnectionTimeout((int) parameter.getConnectionTimeoutMilliseconds() / 1000);
  dataSourceBean.setReapTimeout((int) parameter.getMaxLifetimeMilliseconds() / 1000);
  dataSourceBean.setMaxIdleTime((int) parameter.getIdleTimeoutMilliseconds() / 1000);
}

origin: apache/incubator-shardingsphere

private void setPoolProperties(final AtomikosDataSourceBean dataSourceBean, final YamlDataSourceParameter parameter) {
  dataSourceBean.setMaintenanceInterval((int) (parameter.getMaintenanceIntervalMilliseconds() / 1000));
  dataSourceBean.setMinPoolSize(parameter.getMinPoolSize() < 0 ? 0 : parameter.getMinPoolSize());
  dataSourceBean.setMaxPoolSize(parameter.getMaxPoolSize());
  dataSourceBean.setBorrowConnectionTimeout((int) parameter.getConnectionTimeoutMilliseconds() / 1000);
  dataSourceBean.setReapTimeout((int) parameter.getMaxLifetimeMilliseconds() / 1000);
  dataSourceBean.setMaxIdleTime((int) parameter.getIdleTimeoutMilliseconds() / 1000);
}

origin: org.hswebframework.web/hsweb-datasource-jta

atomikosDataSourceBean.setBorrowConnectionTimeout(getBorrowConnectionTimeout());
if (loginTimeout != 0) {
  try {
origin: io.shardingsphere/sharding-transaction-2pc-xa

private void setPoolProperties(final DataSourceParameter parameter) {
  delegate.setMaintenanceInterval((int) (parameter.getMaintenanceIntervalMilliseconds() / 1000));
  delegate.setMinPoolSize(parameter.getMinPoolSize() < 0 ? 0 : parameter.getMinPoolSize());
  delegate.setMaxPoolSize(parameter.getMaxPoolSize());
  delegate.setBorrowConnectionTimeout((int) parameter.getConnectionTimeoutMilliseconds() / 1000);
  delegate.setReapTimeout((int) parameter.getMaxLifetimeMilliseconds() / 1000);
  delegate.setMaxIdleTime((int) parameter.getIdleTimeoutMilliseconds() / 1000);
}

com.atomikos.jdbcAtomikosDataSourceBeansetBorrowConnectionTimeout

Popular methods of AtomikosDataSourceBean

  • setUniqueResourceName
  • <init>
  • setXaDataSource
    Sets the XADataSource directly - instead of providing the xaDataSourceClassName and xaProperties.
  • setMaxIdleTime
  • setMaxPoolSize
  • setMinPoolSize
  • setXaDataSourceClassName
    Sets the fully qualified underlying XADataSource class name. Required, unless you call setXaDataSour
  • setXaProperties
    Sets the properties (name,value pairs) used to configure the XADataSource. Required, unless you call
  • setReapTimeout
  • setMaintenanceInterval
  • setTestQuery
  • setMaxLifetime
  • setTestQuery,
  • setMaxLifetime,
  • close,
  • getBorrowConnectionTimeout,
  • getLogWriter,
  • getLoginTimeout,
  • getMaintenanceInterval,
  • getMaxIdleTime,
  • getMaxLifetime

Popular in Java

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • setContentView (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Menu (java.awt)
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • TimerTask (java.util)
    A task that can be scheduled for one-time or repeated execution by a Timer.
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now