You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Mark Bean <ma...@gmail.com> on 2019/09/11 17:42:54 UTC
reset counter
I have a counter which is updated within a custom processor. The UI allows
a given counter to be reset to zero. The UI shows an updated value of "0".
However, this does not update the underlying counter object's value. So,
the next time the counter is incremented, it is adding to the previous,
non-reset value rather than starting at zero.
How does one pass the UI reset to the counter object?
Thanks,
Mark
Re: reset counter
Posted by Mark Bean <ma...@gmail.com>.
Skip this question. The problem was with how the counter values were being
updated, and had nothing to do with the reset.
On Wed, Sep 11, 2019 at 1:42 PM Mark Bean <ma...@gmail.com> wrote:
> I have a counter which is updated within a custom processor. The UI allows
> a given counter to be reset to zero. The UI shows an updated value of "0".
> However, this does not update the underlying counter object's value. So,
> the next time the counter is incremented, it is adding to the previous,
> non-reset value rather than starting at zero.
>
> How does one pass the UI reset to the counter object?
>
> Thanks,
> Mark
>