protected class NonBlockingLockManagerWithNewDesign.StatisticsTask extends Object implements Runnable
ResourceQueueand various other moving averages for the service as a whole.
public void run()
ResourceQueueeach time it is run.
Note: This is written so as to not cause hard references to be
retained to the
QueueSizeMovingAverageTask is a member field for the
ResourceQueue for the same reason. This way the statistics
ResourceQueues are tracked and may be reported
ResourceQueues will remain strongly reachable only if
there are tasks holding their locks.
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.