Added JMX controls for triggering index sampling.

Note the update threshold is handled as a config not as an input argument.
Maybe unit tests for the StoreAccess class?