Class AWSTransport
java.lang.Object
org.graylog2.plugin.inputs.transports.ThrottleableTransport
org.graylog2.plugin.inputs.transports.ThrottleableTransport2
org.graylog.integrations.aws.transports.AWSTransport
- All Implemented Interfaces:
Transport
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interface -
Field Summary
FieldsFields inherited from class org.graylog2.plugin.inputs.transports.ThrottleableTransport
CK_THROTTLING_ALLOWED, eventBus, throttlingAllowed -
Constructor Summary
ConstructorsConstructorDescriptionAWSTransport(Configuration configuration, com.google.common.eventbus.EventBus serverEventBus, LocalMetricRegistry localRegistry, Map<String, Transport.Factory<? extends Transport>> availableTransports) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoLaunch(MessageInput input, InputFailureRecorder inputFailureRecorder) voiddoStop()Performs the same purpose asThrottleableTransport.stop()but guarantees that the superclass' actions are performed.com.codahale.metrics.MetricSetvoidsetMessageAggregator(CodecAggregator aggregator) Methods inherited from class org.graylog2.plugin.inputs.transports.ThrottleableTransport2
doLaunch, launchMethods inherited from class org.graylog2.plugin.inputs.transports.ThrottleableTransport
blockUntilUnthrottled, blockUntilUnthrottled, determineIfThrottled, handleChangedThrottledState, isThrottled, launch, stop, updateThrottleState
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
AWSTransport
@Inject public AWSTransport(Configuration configuration, com.google.common.eventbus.EventBus serverEventBus, LocalMetricRegistry localRegistry, Map<String, Transport.Factory<? extends Transport>> availableTransports)
-
-
Method Details
-
doLaunch
public void doLaunch(MessageInput input, InputFailureRecorder inputFailureRecorder) throws MisfireException - Specified by:
doLaunchin classThrottleableTransport2- Throws:
MisfireException
-
doStop
public void doStop()Description copied from class:ThrottleableTransportPerforms the same purpose asThrottleableTransport.stop()but guarantees that the superclass' actions are performed.- Specified by:
doStopin classThrottleableTransport
-
setMessageAggregator
-
getMetricSet
public com.codahale.metrics.MetricSet getMetricSet()
-