public class SimpleTableClient extends Object implements SessionSupplier
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleTableClient.Builder |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Result<Session>> |
createSession(Duration duration)
Create new session asynchronous
|
ScheduledExecutorService |
getScheduler()
Default scheduler for asynchronous tasks execution
|
static SimpleTableClient.Builder |
newClient(TableRpc rpc) |
public CompletableFuture<Result<Session>> createSession(Duration duration)
SessionSuppliercreateSession in interface SessionSupplierduration - - timeout of operation completion waitingpublic ScheduledExecutorService getScheduler()
SessionSuppliergetScheduler in interface SessionSupplierpublic static SimpleTableClient.Builder newClient(TableRpc rpc)
Copyright © 2023. All rights reserved.