public class NativeClientFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
EL_CLIENT_TIMEOUT |
protected static String |
EL_CLUTER_NAME |
protected static String |
EL_SECURITY |
| Constructor and Description |
|---|
NativeClientFactory() |
| Modifier and Type | Method and Description |
|---|---|
static NativeClientFactory |
getInstance() |
org.elasticsearch.client.Client |
newClient(String serverURL,
String clusterName,
long timeout) |
void |
setTestClient(org.elasticsearch.client.Client c) |
protected static final String EL_CLUTER_NAME
protected static final String EL_CLIENT_TIMEOUT
protected static final String EL_SECURITY
public static NativeClientFactory getInstance()
public void setTestClient(org.elasticsearch.client.Client c)
Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.