public interface EtcdClientImpl
extends java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<R> EtcdResponsePromise<R> |
send(EtcdRequest<R> request)
Sends a request to the server
|
<R> EtcdResponsePromise<R> send(EtcdRequest<R> request) throws java.io.IOException
R - Type of responserequest - to sendjava.io.IOException - if IO failure while sendingvoid close()
close in interface java.lang.AutoCloseableclose in interface java.io.Closeable