Package net.sf.basedb.util.uri.http
Class HttpConnectionManager.TimeoutTimer
java.lang.Object
java.util.TimerTask
net.sf.basedb.util.uri.http.HttpConnectionManager.TimeoutTimer
- All Implemented Interfaces:
Runnable
- Enclosing class:
- HttpConnectionManager
static class HttpConnectionManager.TimeoutTimer extends TimerTask
-
Field Summary
Fields Modifier and Type Field Description private org.apache.http.client.methods.HttpGet
get
private boolean
hasCompleted
private boolean
hasTimedOut
-
Constructor Summary
Constructors Constructor Description TimeoutTimer(org.apache.http.client.methods.HttpGet get)
-
Method Summary
Modifier and Type Method Description (package private) boolean
hasTimedOut()
void
run()
(package private) void
setCompleted()
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Field Details
-
get
private final org.apache.http.client.methods.HttpGet get -
hasTimedOut
private volatile boolean hasTimedOut -
hasCompleted
private volatile boolean hasCompleted
-
-
Constructor Details
-
TimeoutTimer
TimeoutTimer(org.apache.http.client.methods.HttpGet get)
-
-
Method Details