NebulaGraph Java Client
release-3.8
|
Public Member Functions | |
SessionsManager (SessionsManagerConfig config) | |
synchronized SessionWrapper | getSessionWrapper () throws RuntimeException, ClientServerIncompatibleException |
getSessionWrapper: return a SessionWrapper from sessionManager, the SessionWrapper couldn't use by multi-thread More... | |
synchronized void | returnSessionWrapper (SessionWrapper session) |
returnSessionWrapper: return the SessionWrapper to the sessionManger, the old SessionWrapper couldn't use again. More... | |
synchronized void | close () |
close: release all sessions and close the connection pool | |
Definition at line 19 of file SessionsManager.java.
synchronized SessionWrapper getSessionWrapper | ( | ) | throws RuntimeException, ClientServerIncompatibleException |
getSessionWrapper: return a SessionWrapper from sessionManager, the SessionWrapper couldn't use by multi-thread
RuntimeException | the exception when get SessionWrapper |
Definition at line 53 of file SessionsManager.java.
synchronized void returnSessionWrapper | ( | SessionWrapper | session | ) |
returnSessionWrapper: return the SessionWrapper to the sessionManger, the old SessionWrapper couldn't use again.
session | The SessionWrapper |
Definition at line 98 of file SessionsManager.java.