Class ConnectionPoolBusyException
The exception that is thrown when all connections in the pool have reached their maximum number of in-flight requests.
Implements
Inherited Members
Namespace: Gremlin.Net.Driver.Exceptions
Assembly: Gremlin.Net.dll
Syntax
public class ConnectionPoolBusyException : NoConnectionAvailableException, ISerializable
Constructors
ConnectionPoolBusyException(int, int)
Initializes a new instance of the ConnectionPoolBusyException class.
Declaration
public ConnectionPoolBusyException(int poolSize, int maxInProcessPerConnection)
Parameters
Type | Name | Description |
---|---|---|
int | poolSize | |
int | maxInProcessPerConnection |
Properties
MaxInProcessPerConnection
Gets the maximum number of in-flight requests that can occur on a connection.
Declaration
public int MaxInProcessPerConnection { get; }
Property Value
Type | Description |
---|---|
int |
PoolSize
Gets the size of the connection pool.
Declaration
public int PoolSize { get; }
Property Value
Type | Description |
---|---|
int |