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
LocalGauge
Class LocalGauge
Hierarchy
LocalSettable
<
number
>
LocalGauge
Implements
{
name
:
string
;
tags
:
Tags
}
&
{
set
:
any
}
{
name
:
string
;
tags
:
Tags
}
&
{
set
:
any
}
&
{
increment
:
(
val
:
T
, tags
?:
Tags
)
=>
void
}
Index
Constructors
constructor
Properties
_val
log
name
tags
Accessors
raw
value
Methods
decrement
increment
reset
set
Constructors
constructor
new
Local
Gauge
(
name
:
string
, tags
?:
Tags
)
:
LocalGauge
Parameters
name:
string
Default value
tags:
Tags
= {}
Returns
LocalGauge
Properties
Protected
_val
_val
:
Value
<
number
|
undefined
>
Protected
Readonly
log
log
:
InternalLog
= logger('LocalGauge')
Readonly
name
name
:
string
Readonly
tags
tags
:
Tags
Accessors
raw
get
raw
(
)
:
number
Returns
number
value
get
value
(
)
:
Value
<
number
|
undefined
>
Returns
Value
<
number
|
undefined
>
Methods
decrement
decrement
(
value
?:
number
, tags
?:
Tags
)
:
void
Parameters
Default value
value:
number
= 0
Default value
tags:
Tags
= {}
Returns
void
increment
increment
(
value
?:
number
, tags
?:
Tags
)
:
void
Parameters
Default value
value:
number
= 1
Default value
tags:
Tags
= {}
Returns
void
reset
reset
(
)
:
void
Returns
void
set
set
(
value
:
number
, tags
?:
Tags
)
:
Value
<
number
|
undefined
>
Parameters
value:
number
Default value
tags:
Tags
= {}
Returns
Value
<
number
|
undefined
>
Globals
Local
Gauge
constructor
_val
log
name
tags
raw
value
decrement
increment
reset
set
Generated using
TypeDoc