DESCRIPTION

JVMCBC-230: Only use one pause detector

Motivation
----------
The latency utils that we use for latency collection creates a
pause detector per object if not set properly before. Also, it
checks every ms and therefore creating lots of context switching.

Modifications
-------------
To reduce context switches the code creates one pause detector
and only wakes it up 10ms, dramatically reducing the
context switches it creates.

Result
------
No more context switches than needed.

Change-Id: I7791c7f04e26b388839f18600c98fc587c5e86ec
Reviewed-on: http://review.couchbase.org/54400
Tested-by: Natasha Sullivan xxx@xxx.xxx
Reviewed-by: Cory Peck xxx@xxx.xxx


COMMENTS

author: Gerrit Code Review
date: 2015-08-13 07:04:53.951000000

Change has been successfully cherry-picked as ebafbc2d75811c9e89bd42abd019b01c0729e438

-------------------------------------
