Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConfigRetrieverOptions

Options to configure the ConfigRetriever.

Hierarchy

  • ConfigRetrieverOptions

Index

Constructors

constructor

Methods

addStore

getScanPeriod

  • getScanPeriod(): number
  • Configures the scan period, in ms. This is the time amount between two checks of the configuration updates.

    Returns number

getStores

  • Sets the configuration stores.

    Returns ConfigStoreOptions[]

isIncludeDefaultStores

  • isIncludeDefaultStores(): boolean
  • Enables or disables the inclusion of the default stored in the configuration.

    Returns boolean

setIncludeDefaultStores

  • Enables or disables the inclusion of the default stored in the configuration.

    Parameters

    • includeDefaultStores: boolean

    Returns ConfigRetrieverOptions

setScanPeriod

  • Configures the scan period, in ms. This is the time amount between two checks of the configuration updates.

    Parameters

    • scanPeriod: number

    Returns ConfigRetrieverOptions

setStores

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc