Class ConnectionPoolBusyException
The exception that is thrown when all connections in the pool have reached their maximum number of in-flight requests.
Inheritance
System.Object
System.Exception
ConnectionPoolBusyException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Gremlin.Net.Driver.Exceptions
Assembly: cs.temp.dll.dll
Syntax
public class ConnectionPoolBusyException : NoConnectionAvailableException, ISerializable, _Exception
Constructors
ConnectionPoolBusyException(Int32, Int32)
Initializes a new instance of the ConnectionPoolBusyException class.
Declaration
public ConnectionPoolBusyException(int poolSize, int maxInProcessPerConnection)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | poolSize | |
System.Int32 | 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 |
---|---|
System.Int32 |
PoolSize
Gets the size of the connection pool.
Declaration
public int PoolSize { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception