protected boolean validateConnection(Connection conn) {
    try {
      return (!conn.isClosed());
    } catch (SQLException e) {
      if (logger.isDebugEnabled()) {
        logger.debug("AbstractDataSource::validateConnection:exception in validating connection",
            e);
      }
      return false;
    }
  }
Sets the login time out for the database connection

@param seconds login time out in seconds.
geode-core/src/main/java/org/apache/geode/internal/datasource/AbstractDataSource.java