org.elasticsearch.http.netty
Class NettyHttpServerTransport
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.common.component.AbstractLifecycleComponent<HttpServerTransport>
org.elasticsearch.http.netty.NettyHttpServerTransport
- All Implemented Interfaces:
- CloseableComponent, LifecycleComponent<HttpServerTransport>, HttpServerTransport
public class NettyHttpServerTransport
- extends AbstractLifecycleComponent<HttpServerTransport>
- implements HttpServerTransport
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyHttpServerTransport
@Inject
public NettyHttpServerTransport(Settings settings,
NetworkService networkService)
httpServerAdapter
public void httpServerAdapter(HttpServerAdapter httpServerAdapter)
- Specified by:
httpServerAdapter
in interface HttpServerTransport
doStart
protected void doStart()
throws ElasticSearchException
- Specified by:
doStart
in class AbstractLifecycleComponent<HttpServerTransport>
- Throws:
ElasticSearchException
doStop
protected void doStop()
throws ElasticSearchException
- Specified by:
doStop
in class AbstractLifecycleComponent<HttpServerTransport>
- Throws:
ElasticSearchException
doClose
protected void doClose()
throws ElasticSearchException
- Specified by:
doClose
in class AbstractLifecycleComponent<HttpServerTransport>
- Throws:
ElasticSearchException
boundAddress
public BoundTransportAddress boundAddress()
- Specified by:
boundAddress
in interface HttpServerTransport
stats
public HttpStats stats()
- Specified by:
stats
in interface HttpServerTransport
Copyright © 2009-2012. All Rights Reserved.