NebulaGraph Java Client 5.0.0
|
Classes | |
class | Builder |
Public Member Functions | |
NebulaClient | getClient () throws Exception |
get NebulaClient from pool | |
void | returnClient (NebulaClient client) |
return the client to object pool | |
void | close () |
int | getActiveSessions () |
get the active sessions of NebulaClient | |
int | getIdleSessions () |
get the idle sessions of NebulaClient | |
int | getWaiters () |
get the execute requests waiting to get session | |
Static Public Member Functions | |
static NebulaPool.Builder | builder (String addresses, String userName) |
static NebulaPool.Builder | builder (String addresses, String userName, String password) |
Definition at line 22 of file NebulaPool.java.
|
static |
Definition at line 32 of file NebulaPool.java.
|
static |
Definition at line 36 of file NebulaPool.java.
void close | ( | ) |
Definition at line 102 of file NebulaPool.java.
int getActiveSessions | ( | ) |
get the active sessions of NebulaClient
Definition at line 112 of file NebulaPool.java.
NebulaClient getClient | ( | ) | throws Exception |
get NebulaClient from pool
Definition at line 80 of file NebulaPool.java.
int getIdleSessions | ( | ) |
get the idle sessions of NebulaClient
Definition at line 121 of file NebulaPool.java.
int getWaiters | ( | ) |
get the execute requests waiting to get session
Definition at line 130 of file NebulaPool.java.
void returnClient | ( | NebulaClient | client | ) |
return the client to object pool
client | NebulaClient |
Definition at line 89 of file NebulaPool.java.