public abstract static class IndicesWarmer.Listener extends Object
Constructor and Description |
---|
IndicesWarmer.Listener() |
Modifier and Type | Method and Description |
---|---|
String |
executor() |
abstract IndicesWarmer.TerminationHandle |
warmNewReaders(IndexShard indexShard,
IndexMetaData indexMetaData,
IndicesWarmer.WarmerContext context,
ThreadPool threadPool)
Queue tasks to warm-up the given segments and return handles that allow to wait for termination of the execution of those tasks.
|
abstract IndicesWarmer.TerminationHandle |
warmTopReader(IndexShard indexShard,
IndexMetaData indexMetaData,
IndicesWarmer.WarmerContext context,
ThreadPool threadPool) |
public String executor()
public abstract IndicesWarmer.TerminationHandle warmNewReaders(IndexShard indexShard, IndexMetaData indexMetaData, IndicesWarmer.WarmerContext context, ThreadPool threadPool)
public abstract IndicesWarmer.TerminationHandle warmTopReader(IndexShard indexShard, IndexMetaData indexMetaData, IndicesWarmer.WarmerContext context, ThreadPool threadPool)
Copyright © 2009–2016. All rights reserved.