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

Mostra file Open project: Zenasoft/Jellyfish.Commands

Public Properties

Property Type Description
adders long[]
bucketStartInMs long
maxAdders long[]

Public Methods

Method 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

Method Description
Reset ( Bucket b, long currentTime ) : void

Method Details

AddBucket() public method

public AddBucket ( Bucket bucket ) : void
bucket Bucket
return void

Bucket() public method

public Bucket ( ) : Jellyfish.Commands.Utils
return Jellyfish.Commands.Utils

GetAdder() public method

public GetAdder ( RollingNumberEvent ev ) : long
ev RollingNumberEvent
return long

GetMaxUpdater() public method

public GetMaxUpdater ( RollingNumberEvent ev ) : long
ev RollingNumberEvent
return long

Increment() public method

public Increment ( RollingNumberEvent ev ) : void
ev RollingNumberEvent
return void

UpdateMaxMax() public method

public UpdateMaxMax ( RollingNumberEvent ev, long value ) : void
ev RollingNumberEvent
value long
return void

Property Details

adders public_oe property

public long[] adders
return long[]

bucketStartInMs public_oe property

public long bucketStartInMs
return long

maxAdders public_oe property

public long[] maxAdders
return long[]