Options
All
  • Public
  • Public/Protected
  • All
Menu

LoadBalancer 工厂,用于给指定对象包装 LoadBalancer。

Hierarchy

  • LoadBalancerFactory

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected loadBalancers

loadBalancers: Array<LoadBalancer<[string, any], any>> = []

Private options

创建新的 LoadBalancer 时使用的参数,该参数可以在 bind 的时候覆盖。

Methods

bind

close

  • close(): Promise<any[]>

getStatus

  • getStatus(): Promise<object[]>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc