UNPKG

npaw-plugin-nwf

Version:
21 lines (20 loc) 875 B
import Loader from '../Loaders/Loader'; /** * @class * @description This class connect to cdn the cdb balancer api and hepls to get data * @exports BalancerApiBusinessObject */ export default class BalancerApiBusinessObject { options?: any; private _loader; private _manifestMap; private _jwtAuthType?; private _jwtToken?; constructor(loader: Loader, jwtAuthType?: string, jwtToken?: string); loadBalancerData(accountCode: string, resource: string, isLive: boolean, updateTime: number, debug: boolean, isDev: boolean, signManifest: boolean, profileName?: string, bucketName?: string, optionsHost?: string, dynamicRules?: string, deviceInfo?: string): Promise<void>; private createUpdateTimer; private getRouteAndFilename; private shouldPerformDecision; private performHashmapCleanup; private deleteOldestFromManifestMap; }