@Deprecated public class TransportClientFactoryBean extends Object implements FactoryBean<org.elasticsearch.client.transport.TransportClient>, InitializingBean, DisposableBean
OBJECT_TYPE_ATTRIBUTE
Constructor and Description |
---|
TransportClientFactoryBean()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Deprecated.
|
protected void |
buildClient()
Deprecated.
|
void |
destroy()
Deprecated.
|
Boolean |
getClientIgnoreClusterName()
Deprecated.
|
String |
getClientNodesSamplerInterval()
Deprecated.
|
String |
getClientPingTimeout()
Deprecated.
|
org.elasticsearch.client.transport.TransportClient |
getObject()
Deprecated.
|
Class<org.elasticsearch.client.transport.TransportClient> |
getObjectType()
Deprecated.
|
boolean |
isSingleton()
Deprecated.
|
void |
setClientIgnoreClusterName(Boolean clientIgnoreClusterName)
Deprecated.
|
void |
setClientNodesSamplerInterval(String clientNodesSamplerInterval)
Deprecated.
|
void |
setClientPingTimeout(String clientPingTimeout)
Deprecated.
|
void |
setClientTransportSniff(Boolean clientTransportSniff)
Deprecated.
|
void |
setClusterName(String clusterName)
Deprecated.
|
void |
setClusterNodes(String clusterNodes)
Deprecated.
|
void |
setProperties(Properties properties)
Deprecated.
|
public void destroy()
destroy
in interface DisposableBean
public org.elasticsearch.client.transport.TransportClient getObject()
getObject
in interface FactoryBean<org.elasticsearch.client.transport.TransportClient>
public Class<org.elasticsearch.client.transport.TransportClient> getObjectType()
getObjectType
in interface FactoryBean<org.elasticsearch.client.transport.TransportClient>
public boolean isSingleton()
isSingleton
in interface FactoryBean<org.elasticsearch.client.transport.TransportClient>
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
protected void buildClient()
public void setClusterNodes(String clusterNodes)
public void setClusterName(String clusterName)
public void setClientTransportSniff(Boolean clientTransportSniff)
public String getClientNodesSamplerInterval()
public void setClientNodesSamplerInterval(String clientNodesSamplerInterval)
public String getClientPingTimeout()
public void setClientPingTimeout(String clientPingTimeout)
public Boolean getClientIgnoreClusterName()
public void setClientIgnoreClusterName(Boolean clientIgnoreClusterName)
public void setProperties(Properties properties)
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.