resetTransient

Resets all the transient channel traffic values, and returns a snapshot of what the state was just before the resetting.

Note that not all values can be reset. Metrics such as active connections will remain untouched, as resetting those would de-synchronize our results, since any connections that were active before the result would now be unknown. If any of those channels would disconnect after, the counter would go negative.

Return

a snapshot of the channel's traffic since the last reset, or when it first began measuring.