private void warmup() throws InterruptedException {
long startTime = System.currentTimeMillis();
TaskRunner exec = new TaskRunner(NUM_THREADS);
log.warn("Starting warmup");
for (final Object key : keys) {
exec.execute(new Runnable() {
public void run() {
// this will create the necessary entries.
cache.put(key, Collections.emptyMap());
}
});