Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConnectionPoolMetrics

internal

Hierarchy层级

  • ConnectionPoolMetrics

Index索引

Constructors构造函数

constructor

Properties属性

cursorConnections

cursorConnections: number = 0

otherConnections

otherConnections: number = 0

txnConnections

txnConnections: number = 0

Static Readonly CURSOR

CURSOR: "cursor" = ...

Static Readonly OTHER

OTHER: "other" = ...

Static Readonly TXN

TXN: "txn" = ...

Methods方法

info

  • info(maxPoolSize: number): string
  • Return information about the cmap metrics as a string.

    Parameters参数

    • maxPoolSize: number

    Returns返回string

markPinned

  • markPinned(pinType: string): void
  • Mark a connection as pinned for a specific operation.

    Parameters参数

    • pinType: string

    Returns返回void

markUnpinned

  • markUnpinned(pinType: string): void
  • Unmark a connection as pinned for an operation.

    Parameters参数

    • pinType: string

    Returns返回void

reset

  • reset(): void

Generated using TypeDoc