/** * Sets default values for advanced pool properties<br> * * @param connectorPoolObj Connector Connection Pool */ private static void setDefaultAdvancedPoolAttributes(ConnectorConnectionPool connectorPoolObj) { //Other advanced attributes like connection-leak-reclaim, lazy-connection-enlistment, //lazy-connection-association, associate-with-thread are boolean values which are not required //to be explicitly initialized to default values. connectorPoolObj.setMaxConnectionUsage(ConnectorConnectionPool.DEFAULT_MAX_CONNECTION_USAGE); connectorPoolObj.setConnectionLeakTracingTimeout(ConnectorConnectionPool.DEFAULT_LEAK_TIMEOUT); connectorPoolObj.setConCreationRetryAttempts(ConnectorConnectionPool.DEFAULT_CON_CREATION_RETRY_ATTEMPTS); connectorPoolObj.setConCreationRetryInterval(ConnectorConnectionPool.DEFAULT_CON_CREATION_RETRY_INTERVAL); connectorPoolObj.setValidateAtmostOncePeriod(ConnectorConnectionPool.DEFAULT_VALIDATE_ATMOST_ONCE_PERIOD); }
ccp.setConCreationRetryInterval( adminPool.getConnectionCreationRetryIntervalInSeconds());
ccp.setConCreationRetryInterval( domainCcp.getConnectionCreationRetryIntervalInSeconds());
origCcp.setNonTransactional(ccp.isNonTransactional()); origCcp.setConCreationRetryAttempts(ccp.getConCreationRetryAttempts()); origCcp.setConCreationRetryInterval (ccp.getConCreationRetryInterval()); origCcp.setValidateAtmostOncePeriod(ccp.getValidateAtmostOncePeriod());
clone.setConCreationRetryInterval (getConCreationRetryInterval()); clone.setConCreationRetryAttempts(getConCreationRetryAttempts());