public class ConfigurationLoader extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.logging.log4j.Logger |
log |
| Constructor and Description |
|---|
ConfigurationLoader(org.elasticsearch.client.Client client,
org.elasticsearch.threadpool.ThreadPool threadPool,
org.elasticsearch.common.settings.Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,org.elasticsearch.common.collect.Tuple<org.elasticsearch.common.settings.Settings,Long>> |
load(String[] events,
long timeout,
TimeUnit timeUnit) |
void |
loadAsync(String[] events,
ConfigCallback callback) |
public ConfigurationLoader(org.elasticsearch.client.Client client,
org.elasticsearch.threadpool.ThreadPool threadPool,
org.elasticsearch.common.settings.Settings settings)
public Map<String,org.elasticsearch.common.collect.Tuple<org.elasticsearch.common.settings.Settings,Long>> load(String[] events, long timeout, TimeUnit timeUnit) throws InterruptedException, TimeoutException
InterruptedExceptionTimeoutExceptionpublic void loadAsync(String[] events, ConfigCallback callback)
Copyright © 2015–2018 Red Hat. All rights reserved.