Added ability to force index sampling using jmx.