public class AmqpTransport extends ThrottleableTransport
| Modifier and Type | Class and Description |
|---|---|
static class |
AmqpTransport.Config |
static interface |
AmqpTransport.Factory |
| Modifier and Type | Field and Description |
|---|---|
static String |
CK_EXCHANGE |
static String |
CK_EXCHANGE_BIND |
static String |
CK_HEARTBEAT_TIMEOUT |
static String |
CK_HOSTNAME |
static String |
CK_PARALLEL_QUEUES |
static String |
CK_PASSWORD |
static String |
CK_PORT |
static String |
CK_PREFETCH |
static String |
CK_QUEUE |
static String |
CK_REQUEUE_INVALID_MESSAGES |
static String |
CK_ROUTING_KEY |
static String |
CK_TLS |
static String |
CK_USERNAME |
static String |
CK_VHOST |
CK_THROTTLING_ALLOWED| Constructor and Description |
|---|
AmqpTransport(Configuration configuration,
com.google.common.eventbus.EventBus eventBus,
LocalMetricRegistry localRegistry,
ScheduledExecutorService scheduler) |
| Modifier and Type | Method and Description |
|---|---|
void |
doLaunch(MessageInput input)
Performs the same purpose as
ThrottleableTransport.launch(org.graylog2.plugin.inputs.MessageInput) but guarantees that the superclass'
actions are performed. |
void |
doStop()
Performs the same purpose as
ThrottleableTransport.stop() but guarantees that the superclass' actions are performed. |
com.codahale.metrics.MetricSet |
getMetricSet() |
void |
lifecycleChanged(Lifecycle lifecycle) |
void |
setMessageAggregator(CodecAggregator aggregator) |
blockUntilUnthrottled, determineIfThrottled, isThrottled, launch, stop, updateThrottleStatepublic static final String CK_HOSTNAME
public static final String CK_PORT
public static final String CK_VHOST
public static final String CK_USERNAME
public static final String CK_PASSWORD
public static final String CK_PREFETCH
public static final String CK_EXCHANGE
public static final String CK_EXCHANGE_BIND
public static final String CK_QUEUE
public static final String CK_ROUTING_KEY
public static final String CK_PARALLEL_QUEUES
public static final String CK_TLS
public static final String CK_REQUEUE_INVALID_MESSAGES
public static final String CK_HEARTBEAT_TIMEOUT
public AmqpTransport(Configuration configuration, com.google.common.eventbus.EventBus eventBus, LocalMetricRegistry localRegistry, @Named(value="daemonScheduler") ScheduledExecutorService scheduler)
public void lifecycleChanged(Lifecycle lifecycle)
public void setMessageAggregator(CodecAggregator aggregator)
public void doLaunch(MessageInput input) throws MisfireException
ThrottleableTransportThrottleableTransport.launch(org.graylog2.plugin.inputs.MessageInput) but guarantees that the superclass'
actions are performed.doLaunch in class ThrottleableTransportMisfireExceptionpublic void doStop()
ThrottleableTransportThrottleableTransport.stop() but guarantees that the superclass' actions are performed.doStop in class ThrottleableTransportpublic com.codahale.metrics.MetricSet getMetricSet()
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.