public class SessionPool extends Object implements AutoCloseable
| Constructor and Description |
|---|
SessionPool(Clock clock,
TableRpc rpc,
boolean keepQueryText,
SessionPoolOptions options) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Result<Session>> |
acquire(Duration timeout) |
void |
close() |
SessionPoolStats |
stats() |
void |
updateMaxSize(int maxSize) |
public SessionPool(Clock clock, TableRpc rpc, boolean keepQueryText, SessionPoolOptions options)
public void updateMaxSize(int maxSize)
public void close()
close in interface AutoCloseablepublic SessionPoolStats stats()
public CompletableFuture<Result<Session>> acquire(Duration timeout)
Copyright © 2023. All rights reserved.