Package com.mongodb.internal.session
Class ServerSessionPool
- java.lang.Object
-
- com.mongodb.internal.session.ServerSessionPool
-
@Deprecated(since="2021-05-27") public class ServerSessionPool extends Object
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description ServerSessionPool(Cluster cluster)
Deprecated.ServerSessionPool(Cluster cluster, com.mongodb.internal.session.ServerSessionPool.Clock clock)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.ServerSession
get()
Deprecated.int
getInUseCount()
Deprecated.void
release(ServerSession serverSession)
Deprecated.
-
-
-
Method Detail
-
get
public ServerSession get()
Deprecated.
-
release
public void release(ServerSession serverSession)
Deprecated.
-
close
public void close()
Deprecated.
-
getInUseCount
public int getInUseCount()
Deprecated.
-
-