* Unmark a connection as pinned for an operation.
(pinType: string)
| 25 | * Unmark a connection as pinned for an operation. |
| 26 | */ |
| 27 | markUnpinned(pinType: string): void { |
| 28 | if (pinType === ConnectionPoolMetrics.TXN) { |
| 29 | this.txnConnections -= 1; |
| 30 | } else if (pinType === ConnectionPoolMetrics.CURSOR) { |
| 31 | this.cursorConnections -= 1; |
| 32 | } else { |
| 33 | this.otherConnections -= 1; |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Return information about the cmap metrics as a string. |
no outgoing calls
no test coverage detected