Search
Preparing search index...
The search index is not available
@btilford/ts-base - v1.1.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
LocalHistogram
Class LocalHistogram<T>
Type parameters
T
Hierarchy
LocalHistogram
Implements
TimeFactory
{
name
:
string
;
tags
:
Tags
}
&
{
set
:
any
}
Resettable
Index
Constructors
constructor
Properties
_values
limit
name
tags
Accessors
values
Methods
now
reset
set
Constructors
constructor
new
Local
Histogram
(
name
:
string
, limit
?:
number
, timeFactory
?:
TimeFactory
, tags
?:
Tags
)
:
LocalHistogram
Parameters
name:
string
Default value
limit:
number
= 100
Optional
timeFactory:
TimeFactory
Default value
tags:
Tags
= {}
Returns
LocalHistogram
Properties
Protected
_values
_values
:
HistogramValue
<
T
>
[]
= []
Readonly
limit
limit
:
number
Readonly
name
name
:
string
Readonly
tags
tags
:
Tags
Accessors
values
get
values
(
)
:
HistogramValue
<
T
>
[]
Returns
HistogramValue
<
T
>
[]
Methods
now
now
(
)
:
TimeMeasurement
Returns
TimeMeasurement
reset
reset
(
)
:
void
Returns
void
set
set
(
value
:
T
, tags
?:
Tags
)
:
Value
<
T
>
Parameters
value:
T
Default value
tags:
Tags
= {}
Returns
Value
<
T
>
Globals
Local
Histogram
constructor
_values
limit
name
tags
values
now
reset
set
Generated using
TypeDoc