public interface Client extends AutoCloseable
The Client object is obtained via ClientFactory.getClient(String, java.util.Properties) or ClientFactory.getClient(String, String) methods.
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
Client.ClientProperty |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Close
Client. |
Session |
getSession() |
Get
Session from pool or the new one. |
void close()
Client.
Closes all Sessions it has created, and destroys the managed pool.
Calling the method close on a Client
object that is already closed is a no-op.
close in interface AutoCloseable