Java Reference
In-Depth Information
/**
* Only one thread at a time is allowed to add to the
* workload.
*/
private Semaphore addLock;
/**
* Is there any work?
*/
private CountDownLatch workLatch;
/**
* The maximum size a URL can be.
*/
private int maxURLSize;
/**
* The maximum size that a host can be.
*/
private int maxHostSize;
/**
* All of the RepeatableStatement objects.
*/
private List<RepeatableStatement> statements =
new ArrayList<RepeatableStatement>();
/**
* Used to obtain the next URL.
*/
private RepeatableStatement.Results workResultSet = null;
/**
* Used to obtain the next host.
*/
private RepeatableStatement.Results hostResultSet = null;
/**
* A connection to a JDBC database.
*/
private Connection connection;
/**
* The current host.
*/
Search WWH ::




Custom Search