public class Pools extends Object
Constructor and Description |
---|
Pools() |
Modifier and Type | Method and Description |
---|---|
static void |
close()
Close all pools.
|
static void |
close(String poolName)
Closing a pool with name defined in url.
|
static void |
remove(Pool pool)
Remove pool.
|
static Pool |
retrievePool(UrlParser urlParser)
Get existing pool for a configuration.
|
public static Pool retrievePool(UrlParser urlParser)
urlParser
- configuration parserpublic static void remove(Pool pool)
pool
- pool to removepublic static void close()
public static void close(String poolName)
poolName
- the option "poolName" valueCopyright © 2019 mariadb.org. All rights reserved.