public class RandomMessageTransport extends GeneratorTransport
Modifier and Type | Class and Description |
---|---|
static class |
RandomMessageTransport.Config |
static interface |
RandomMessageTransport.Factory |
Modifier and Type | Field and Description |
---|---|
static String |
CK_SLEEP |
static String |
CK_SLEEP_DEVIATION_PERCENT |
static String |
CK_SOURCE |
CK_THROTTLING_ALLOWED
Constructor and Description |
---|
RandomMessageTransport(Configuration configuration,
com.google.common.eventbus.EventBus eventBus,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
protected RawMessage |
produceRawMessage(MessageInput input) |
doLaunch, doStop, getMetricSet, setMessageAggregator
blockUntilUnthrottled, blockUntilUnthrottled, determineIfThrottled, handleChangedThrottledState, isThrottled, launch, stop, updateThrottleState
public static final String CK_SOURCE
public static final String CK_SLEEP
public static final String CK_SLEEP_DEVIATION_PERCENT
public RandomMessageTransport(Configuration configuration, com.google.common.eventbus.EventBus eventBus, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
protected RawMessage produceRawMessage(MessageInput input)
produceRawMessage
in class GeneratorTransport
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.