public class MemoizingClientSupplier<T extends CloseableClient> extends Object implements Supplier<T>, CloseableClient
| Constructor and Description |
|---|
MemoizingClientSupplier(Supplier<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
close the client and release its resources.
|
T |
get() |
String |
toString() |
public T get()
get in interface Supplier<T extends CloseableClient>public void close()
CloseableClientclose in interface CloseableClientclose in interface AutoCloseableCopyright © 2020. All rights reserved.