Package com.avaje.ebeaninternal.server.lib.sql

Examples of com.avaje.ebeaninternal.server.lib.sql.DataSourcePool


    initialiseHeartbeat();
  }
 
  private void initialiseHeartbeat() {
    if (dataSource instanceof DataSourcePool) {
      DataSourcePool ds = (DataSourcePool)dataSource;
      backgroundExecutor.executePeriodically(ds.getHeartbeatRunnable(), ds.getHeartbeatFreqSecs(), TimeUnit.SECONDS);
    }
  }
View Full Code Here


      }
      return null;
    }

    DataSourceAlert notify = new SimpleDataSourceAlert();
    return new DataSourcePool(notify, config.getName(), dsConfig);
  }
View Full Code Here

TOP

Related Classes of com.avaje.ebeaninternal.server.lib.sql.DataSourcePool

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.