public class HttpPollTransport extends ThrottleableTransport
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpPollTransport.Config |
static interface |
HttpPollTransport.Factory |
CK_THROTTLING_ALLOWED| Constructor and Description |
|---|
HttpPollTransport(Configuration configuration,
com.google.common.eventbus.EventBus serverEventBus,
ServerStatus serverStatus,
ScheduledExecutorService scheduler,
com.squareup.okhttp.OkHttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
doLaunch(MessageInput input) |
void |
doStop() |
com.codahale.metrics.MetricSet |
getMetricSet() |
void |
lifecycleStateChange(Lifecycle lifecycle) |
void |
setMessageAggregator(CodecAggregator aggregator) |
blockUntilUnthrottled, determineIfThrottled, isThrottled, launch, stop, updateThrottleStatepublic HttpPollTransport(Configuration configuration, com.google.common.eventbus.EventBus serverEventBus, ServerStatus serverStatus, @Named(value="daemonScheduler") ScheduledExecutorService scheduler, com.squareup.okhttp.OkHttpClient httpClient)
public void lifecycleStateChange(Lifecycle lifecycle)
public void setMessageAggregator(CodecAggregator aggregator)
public void doLaunch(MessageInput input) throws MisfireException
doLaunch in class ThrottleableTransportMisfireExceptionpublic void doStop()
doStop in class ThrottleableTransportpublic com.codahale.metrics.MetricSet getMetricSet()
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.