|
| SessionPool (SessionPoolConfig poolConfig) |
|
boolean | init () |
| init the SessionPool this function is moved into SessionPool's constructor, no need to call it manually.
|
|
ResultSet | execute (String stmt) throws IOErrorException, ClientServerIncompatibleException, AuthFailedException, BindSpaceFailedException |
| Execute the nGql sentence. More...
|
|
ResultSet | execute (String stmt, Map< String, Object > parameterMap) throws ClientServerIncompatibleException, AuthFailedException, IOErrorException, BindSpaceFailedException |
| Execute the nGql sentence with parameter. More...
|
|
ResultSet | executeWithTimeout (String stmt, long timeoutMs) throws IOErrorException, AuthFailedException, BindSpaceFailedException |
|
ResultSet | executeWithParameterTimeout (String stmt, Map< String, Object > parameterMap, long timeoutMs) throws IOErrorException, AuthFailedException, BindSpaceFailedException |
|
String | executeJson (String stmt) throws ClientServerIncompatibleException, AuthFailedException, IOErrorException, BindSpaceFailedException |
|
String | executeJsonWithParameter (String stmt, Map< String, Object > parameterMap) throws ClientServerIncompatibleException, AuthFailedException, IOErrorException, BindSpaceFailedException |
|
void | close () |
| close the session pool
|
|
boolean | isActive () |
| if the SessionPool has been initialized
|
|
boolean | isClosed () |
| if the SessionPool is closed
|
|
int | getSessionNums () |
| get the number of all Session
|
|
int | getIdleSessionNums () |
| get the number of idle Session
|
|
HostAddress | getAddress () |
|