public class ServerSessionPool
extends java.lang.Object
Constructor and Description |
---|
ServerSessionPool(Cluster cluster) |
ServerSessionPool(Cluster cluster,
com.mongodb.internal.session.ServerSessionPool.Clock clock) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ServerSession |
get() |
int |
getInUseCount() |
void |
release(ServerSession serverSession) |
public ServerSessionPool(Cluster cluster)
public ServerSessionPool(Cluster cluster, com.mongodb.internal.session.ServerSessionPool.Clock clock)
public ServerSession get()
public void release(ServerSession serverSession)
public void close()
public int getInUseCount()
Copyright © 2010 - 2020 Adobe. All Rights Reserved