public final class IndicesWarmer extends AbstractComponent
Modifier and Type | Class and Description |
---|---|
static class |
IndicesWarmer.Listener |
static interface |
IndicesWarmer.TerminationHandle
A handle on the execution of warm-up action.
|
static class |
IndicesWarmer.WarmerContext |
Modifier and Type | Field and Description |
---|---|
static String |
INDEX_WARMER_ENABLED |
deprecationLogger, logger, settings
Constructor and Description |
---|
IndicesWarmer(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
IndicesService indicesService) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(IndicesWarmer.Listener listener) |
void |
removeListener(IndicesWarmer.Listener listener) |
void |
warmNewReaders(IndicesWarmer.WarmerContext context) |
void |
warmTopReader(IndicesWarmer.WarmerContext context) |
logDeprecatedSetting, logRemovedSetting, nodeName
public static final String INDEX_WARMER_ENABLED
@Inject public IndicesWarmer(Settings settings, ThreadPool threadPool, ClusterService clusterService, IndicesService indicesService)
public void addListener(IndicesWarmer.Listener listener)
public void removeListener(IndicesWarmer.Listener listener)
public void warmNewReaders(IndicesWarmer.WarmerContext context)
public void warmTopReader(IndicesWarmer.WarmerContext context)
Copyright © 2009–2017. All rights reserved.