Folks,
I am trying to write a test case and could not find one to refer to. I want
to set writerWaitStats below to a large value to simulate high values for
log_storage_write_lock_wait_ns_per_event
I tried calling accumulate once with a large value or several times with
large values but it is always zero for
log_storage_write_lock_wait_ns_per_event
What am I missing?

Mohit.


private SlidingStats writerWaitStats = new
SlidingStats("log_storage_write_lock_wait", "ns");

writerWaitStats.accumulate(100000000000000000L);

Reply via email to