Package org.elasticsearch.transport
Class ProxyConnectionStrategy.ProxyModeInfo
java.lang.Object
org.elasticsearch.transport.ProxyConnectionStrategy.ProxyModeInfo
- All Implemented Interfaces:
- Writeable,- org.elasticsearch.common.xcontent.ToXContent,- org.elasticsearch.common.xcontent.ToXContentFragment,- RemoteConnectionInfo.ModeInfo
- Enclosing class:
- ProxyConnectionStrategy
public static class ProxyConnectionStrategy.ProxyModeInfo
extends Object
implements RemoteConnectionInfo.ModeInfo
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContentorg.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.WriteableWriteable.Reader<V>, Writeable.Writer<V>
- 
Field SummaryFields inherited from interface org.elasticsearch.common.xcontent.ToXContentEMPTY_PARAMS
- 
Constructor SummaryConstructorsConstructorDescriptionProxyModeInfo(String address, String serverName, int maxSocketConnections, int numSocketsConnected)
- 
Method SummaryModifier and TypeMethodDescriptionbooleanintintinthashCode()booleanmodeName()org.elasticsearch.transport.RemoteConnectionStrategy.ConnectionStrategymodeType()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragmentisFragment
- 
Constructor Details- 
ProxyModeInfo
 
- 
- 
Method Details- 
toXContentpublic org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
- toXContentin interface- org.elasticsearch.common.xcontent.ToXContent
- Throws:
- IOException
 
- 
writeToDescription copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
- writeToin interface- Writeable
- Throws:
- IOException
 
- 
isConnectedpublic boolean isConnected()- Specified by:
- isConnectedin interface- RemoteConnectionInfo.ModeInfo
 
- 
modeName- Specified by:
- modeNamein interface- RemoteConnectionInfo.ModeInfo
 
- 
getAddress
- 
getServerName
- 
getMaxSocketConnectionspublic int getMaxSocketConnections()
- 
getNumSocketsConnectedpublic int getNumSocketsConnected()
- 
modeTypepublic org.elasticsearch.transport.RemoteConnectionStrategy.ConnectionStrategy modeType()- Specified by:
- modeTypein interface- RemoteConnectionInfo.ModeInfo
 
- 
equals
- 
hashCodepublic int hashCode()
 
-