class BucketingManager
extends DecisionManager
import { BucketingManager } from "https://deno.land/x/flagship_io_js_sdk@3.2.4/decision/BucketingManager.ts";
Constructors
Properties
private
_bucketingContent: BucketingDTOprivate
_murmurHash: MurmurHashMethods
private
checkAndTargeting(targetings: Targetings[], visitor: VisitorAbstract): booleanprivate
finishLoop(response: IHttpResponse)private
getVariation(variationGroup: VariationGroupDTO, visitor: VisitorAbstract): VariationDTO | nullprivate
getVisitorCampaigns(variationGroups: VariationGroupDTO[],
campaignId: string,
campaignType: string,
visitor: VisitorAbstract,
private
isANDListOperator(operator: string): booleanprivate
isMatchTargeting(variationGroup: VariationGroupDTO, visitor: VisitorAbstract): booleanprivate
polling()private
sendContext(visitor: VisitorAbstract): Promise<void>private
testListOperator(): booleanprivate
testListOperatorLoop()private
testOperator(): booleangetCampaignsAsync(visitor: VisitorAbstract): Promise<CampaignDTO[] | null>
getThirdPartySegment(visitorId: string): Promise<Record<string, primitive>>
startPolling(): Promise<void>
stopPolling(): void