C# Class Jellyfish.Commands.Metrics.RollingNumber.Bucket

Afficher le fichier Open project: Zenasoft/Jellyfish.Commands

Méthodes publiques

Свойство Type Description
adders long[]
bucketStartInMs long
maxAdders long[]

Méthodes publiques

Méthode Description
AddBucket ( Bucket bucket ) : void
Bucket ( ) : Jellyfish.Commands.Utils
GetAdder ( RollingNumberEvent ev ) : long
GetMaxUpdater ( RollingNumberEvent ev ) : long
Increment ( RollingNumberEvent ev ) : void
UpdateMaxMax ( RollingNumberEvent ev, long value ) : void

Private Methods

Méthode Description
Reset ( Bucket b, long currentTime ) : void

Method Details

AddBucket() public méthode

public AddBucket ( Bucket bucket ) : void
bucket Bucket
Résultat void

Bucket() public méthode

public Bucket ( ) : Jellyfish.Commands.Utils
Résultat Jellyfish.Commands.Utils

GetAdder() public méthode

public GetAdder ( RollingNumberEvent ev ) : long
ev RollingNumberEvent
Résultat long

GetMaxUpdater() public méthode

public GetMaxUpdater ( RollingNumberEvent ev ) : long
ev RollingNumberEvent
Résultat long

Increment() public méthode

public Increment ( RollingNumberEvent ev ) : void
ev RollingNumberEvent
Résultat void

UpdateMaxMax() public méthode

public UpdateMaxMax ( RollingNumberEvent ev, long value ) : void
ev RollingNumberEvent
value long
Résultat void

Property Details

adders public_oe property

public long[] adders
Résultat long[]

bucketStartInMs public_oe property

public long bucketStartInMs
Résultat long

maxAdders public_oe property

public long[] maxAdders
Résultat long[]