Added JMX controls for triggering index sampling.

Note the update threshold is handled as a config not as an input argument.