public class LocalMetricsTransport extends ThrottleableTransport
| Modifier and Type | Class and Description |
|---|---|
static class |
LocalMetricsTransport.Config |
static interface |
LocalMetricsTransport.Factory |
CK_THROTTLING_ALLOWED| Constructor and Description |
|---|
LocalMetricsTransport(Configuration configuration,
com.fasterxml.jackson.databind.ObjectMapper mapper,
com.codahale.metrics.MetricRegistry metricRegistry,
com.google.common.eventbus.EventBus eventBus,
ScheduledExecutorService scheduler) |
| Modifier and Type | Method and Description |
|---|---|
void |
doLaunch(MessageInput input) |
void |
doStop() |
com.codahale.metrics.MetricSet |
getMetricSet() |
void |
setMessageAggregator(CodecAggregator aggregator) |
blockUntilUnthrottled, determineIfThrottled, isThrottled, launch, stop, updateThrottleStatepublic LocalMetricsTransport(Configuration configuration, com.fasterxml.jackson.databind.ObjectMapper mapper, com.codahale.metrics.MetricRegistry metricRegistry, com.google.common.eventbus.EventBus eventBus, @Named(value="daemonScheduler") ScheduledExecutorService scheduler)
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.