Java Reference
In-Depth Information
} catch (SQLException e)
{
logger.log(Level.SEVERE, "Failed to close ResultSet", e);
}
releaseStatement(this.statement);
}
/**
* Get the ResultSet.
*
* @return The ResultSet.
*/
public ResultSet getResultSet()
{
return this.resultSet;
}
}
/**
* The logger.
*/
private static Logger logger =
Logger.getLogger(
"com.heatonresearch.httprecipes.spider."
+"workload.sql.RepeatableStatement");
/**
* The SQLWorkloadManager that created this object.
*/
private SQLWorkloadManager manager;
/**
* The SQL for this statement.
*/
private String sql;
/**
* A mutex to make sure that only one thread at a time is
* in the process of getting a PreparedStatement assigned.
* More than one thread at a time can have a
* PreparedStatement, however only one can be in the
* obtainStatement function at a time.
*/
private Semaphore mutex;
/**
Search WWH ::




Custom Search