Tabnine Logo
BoneCP.shutdown
Code IndexAdd Tabnine to your IDE (free)

How to use
shutdown
method
in
com.jolbox.bonecp.BoneCP

Best Java code snippets using com.jolbox.bonecp.BoneCP.shutdown (Showing top 12 results out of 315)

origin: org.batoo.jpa/batoo-jpa

/**
 * Close the datasource.
 * 
 */
public void close() {
  if (this.pool != null) {
    this.pool.value.shutdown();
    this.pool = null;
  }
}
origin: org.wisdom-framework/wisdom-jdbc-datasources

/**
 * Just a synonym to shutdown.
 */
public void close() {
  shutdown();
}
origin: org.ddbstoolkit.toolkit.jdbc/ddbstoolkit-jdbc

/**
 * Shutdown connection pool
 */
public void shutdownConnectionPool() {
  connectionPool.shutdown();
}
 
origin: org.apache.qpid/qpid-broker-plugins-jdbc-provider-bone

  @Override
  public void close() throws SQLException
  {
    _connectionPool.shutdown();
  }
}
origin: org.apache.sentry/sentry-shaded-miscellaneous

/** Just a synonym to shutdown. */
public void close(){
  shutdown();
}
origin: dhanji/sitebricks

@Override
public synchronized void shutdown() {
 pool.shutdown();
}
origin: datasalt/splout-db

public void close() {
 connectionPool.shutdown();
}
origin: com.splout.db/splout-commons

public void close() {
  connectionPool.shutdown();
}
origin: com.github.javaclub/jorm

public void realReleaseAllConnections() throws JdbcException {
  try {
    bonecp.shutdown();
  } catch (Exception e) {
    e.printStackTrace();
    throw new JdbcException(e);
  }
}
 
origin: org.apache.sentry/sentry-shaded-miscellaneous

/**
 * Close the datasource (i.e. shut down the entire pool). 
 *
 */
public void close(){
  
  if (getPool() != null){
    getPool().shutdown();
    logger.debug("Connection pool has been shut down");
  }
}
origin: stackoverflow.com

pool.shutdown();
origin: yangbutao/disgear

  connectionPool.shutdown(); // shutdown connection pool.
} catch (SQLException e) {
  e.printStackTrace();
com.jolbox.bonecpBoneCPshutdown

Javadoc

Closes off this connection pool.

Popular methods of BoneCP

  • getConnection
  • <init>
    Constructor.
  • getConfig
    Gets config object.
  • getTotalCreatedConnections
    Return total number of connections created in all partitions.
  • getTotalLeased
    Return total number of connections currently in use by an application
  • captureStackTrace
    Throw an exception to capture it so as to be able to print it out later on
  • closeStatement
  • getDbIsDown
    Returns the dbIsDown field.
  • getStatistics
    Returns a reference to the statistics class.
  • getTotalFree
    Return the number of free connections available to an application right away (excluding connections
  • internalReleaseConnection
    Release a connection by placing the connection back in the pool.
  • isConnectionHandleAlive
    Sends a dummy statement to the server to keep the connection alive
  • internalReleaseConnection,
  • isConnectionHandleAlive,
  • maybeSignalForMoreConnections,
  • obtainRawInternalConnection,
  • postDestroyConnection,
  • putConnectionBackInPartition,
  • registerUnregisterJMX,
  • unregisterDriver,
  • destroyConnection

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Socket (java.net)
    Provides a client-side TCP socket.
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now