class PoolManager
A manager for opening and closing pools. Supports opening the same pool "more than once"; this is done by keeping track of already opened pools. Note that pool config (genesis) must already be saved to a file when using this provider.
<init> |
A manager for opening and closing pools. Supports opening the same pool "more than once"; this is done by keeping track of already opened pools. Note that pool config (genesis) must already be saved to a file when using this provider. PoolManager() |
close |
Closes a pool using the configuration from PoolOptions. If the pool using the config name cannot be found (e.g. it was already closed), throws an exception. fun close(poolOptions: PoolOptions): Completable |
open |
Opens a pool using the given PoolOptions. If the pool is already with the given name is already opened, returns it. fun open(poolOptions: PoolOptions): Single<Pool> |