private final String host;
private final AtomicBoolean available;
private final AtomicInteger failures;
public HttpProvider(ConnectionString conn) throws IOException {
this.client = new HttpClient(conn);
this.host = conn.getHost();
this.available = new AtomicBoolean(true);
this.failures = new AtomicInteger();
}