Added ability to force index sampling using jmx.
Merge pull request #3481 from pontusmelke/jmx-trigger-sampling

Added ability to force index sampling using jmx.