public class InputLauncher extends Object
| Constructor and Description |
|---|
InputLauncher(IOState.Factory<MessageInput> inputStateFactory,
InputBuffer inputBuffer,
PersistedInputs persistedInputs,
InputRegistry inputRegistry,
com.codahale.metrics.MetricRegistry metricRegistry,
Configuration configuration,
LeaderElectionService leaderElectionService) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleLaunchException(Throwable e,
IOState<MessageInput> inputState) |
IOState<MessageInput> |
launch(MessageInput input) |
void |
launchAllPersisted() |
boolean |
leaderStatusInhibitsLaunch(MessageInput input) |
boolean |
shouldStartAutomatically(MessageInput input) |
@Inject public InputLauncher(IOState.Factory<MessageInput> inputStateFactory, InputBuffer inputBuffer, PersistedInputs persistedInputs, InputRegistry inputRegistry, com.codahale.metrics.MetricRegistry metricRegistry, Configuration configuration, LeaderElectionService leaderElectionService)
public IOState<MessageInput> launch(MessageInput input)
protected void handleLaunchException(Throwable e, IOState<MessageInput> inputState)
public void launchAllPersisted()
public boolean shouldStartAutomatically(MessageInput input)
public boolean leaderStatusInhibitsLaunch(MessageInput input)
Copyright © 2012–2022 Graylog, Inc.. All rights reserved.