public class InputRegistry extends HashSet<IOState<MessageInput>>
Constructor and Description |
---|
InputRegistry() |
Modifier and Type | Method and Description |
---|---|
IOState<MessageInput> |
getInputState(String inputId) |
Set<IOState<MessageInput>> |
getInputStates() |
MessageInput |
getRunningInput(String inputId) |
Set<IOState<MessageInput>> |
getRunningInputs() |
IOState<MessageInput> |
getRunningInputState(String inputStateId) |
boolean |
hasTypeRunning(Class klazz) |
boolean |
remove(IOState<MessageInput> inputState) |
boolean |
remove(MessageInput input) |
int |
runningCount() |
IOState<MessageInput> |
stop(MessageInput input) |
add, clear, clone, contains, isEmpty, iterator, remove, size, spliterator
equals, hashCode, removeAll
addAll, containsAll, retainAll, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
parallelStream, removeIf, stream
public Set<IOState<MessageInput>> getInputStates()
public IOState<MessageInput> getInputState(String inputId)
public Set<IOState<MessageInput>> getRunningInputs()
public boolean hasTypeRunning(Class klazz)
public int runningCount()
public MessageInput getRunningInput(String inputId)
public IOState<MessageInput> getRunningInputState(String inputStateId)
public boolean remove(MessageInput input)
public boolean remove(IOState<MessageInput> inputState)
public IOState<MessageInput> stop(MessageInput input)
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.