public class PooledTableClient extends Object implements TableClient
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CompletableFuture<Result<Session>> |
createSession(Duration timeout)
Create new session asynchronous
|
ScheduledExecutorService |
getScheduler()
Default scheduler for asynchronous tasks execution
|
static TableClient.Builder |
newClient(TableRpc rpc) |
SessionPoolStats |
sessionPoolStats() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewClientpublic CompletableFuture<Result<Session>> createSession(Duration timeout)
SessionSuppliercreateSession in interface SessionSuppliertimeout - - timeout of operation completion waitingpublic ScheduledExecutorService getScheduler()
SessionSuppliergetScheduler in interface SessionSupplierpublic void close()
close in interface AutoCloseableclose in interface TableClientpublic SessionPoolStats sessionPoolStats()
sessionPoolStats in interface TableClientpublic static TableClient.Builder newClient(TableRpc rpc)
Copyright © 2023. All rights reserved.