logger.trace("[{}][{}] top warming [{}]", context.shardId().index().name(), context.shardId().id(), context);
} else {
logger.trace("[{}][{}] warming [{}]", context.shardId().index().name(), context.shardId().id(), context);
}
}
indexShard.warmerService().onPreWarm();
long time = System.nanoTime();
final List<IndicesWarmer.Listener.TerminationHandle> terminationHandles = Lists.newArrayList();
// get a handle on pending tasks
for (final Listener listener : listeners) {
if (topReader) {