void init(final ProcessorContext context, final StateStore root)
MeteredWindowStore — State Store of WindowStoreBuilder
MeteredWindowStore
is a concrete WindowStore that registers the metric sensors (when initialized).
MeteredWindowStore
is created exclusively when WindowStoreBuilder
is requested for a state store.
Metric Sensor | Name | RecordingLevel | Description |
---|---|---|---|
|
|
|
Latency of put |
|
|
|
|
|
|
|
Latency of flush |
|
|
|
Latency of init |
Note
|
All the metric sensors are at DEBUG recording level so you have to turn them on using metrics.recording.level streams property.
|
Creating MeteredWindowStore Instance
MeteredWindowStore
takes the following when created:
-
Scope name for the metrics (aka metric scope)
MeteredWindowStore
initializes the internal registries and counters.
Initializing State Store — init
Method
Note
|
init is part of the StateStore Contract to initializes the state store.
|
init
…FIXME
init
requests the ProcessorContext
for the StreamsMetrics and registers the metric sensors.
init
…FIXME