Class YdbSessionManager
java.lang.Object
tech.ydb.yoj.repository.ydb.client.YdbSessionManager
- All Implemented Interfaces:
AutoCloseable,SessionManager
-
Constructor Summary
ConstructorsConstructorDescriptionYdbSessionManager(@NonNull YdbConfig config, tech.ydb.core.grpc.GrpcTransport transport) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tech.ydb.yoj.repository.ydb.client.SessionManager
close
-
Constructor Details
-
YdbSessionManager
public YdbSessionManager(@NonNull @NonNull YdbConfig config, tech.ydb.core.grpc.GrpcTransport transport)
-
-
Method Details
-
getSession
public tech.ydb.table.Session getSession()- Specified by:
getSessionin interfaceSessionManager
-
release
public void release(tech.ydb.table.Session session) - Specified by:
releasein interfaceSessionManager
-
warmup
public void warmup()- Specified by:
warmupin interfaceSessionManager
-
invalidateAllSessions
public void invalidateAllSessions()- Specified by:
invalidateAllSessionsin interfaceSessionManager
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceSessionManager
-
healthCheck
public boolean healthCheck()- Specified by:
healthCheckin interfaceSessionManager
-