public class InputRegistry extends Object
| Constructor and Description |
|---|
InputRegistry(InputHost radio) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanInput(MessageInput input) |
static MessageInput |
factory(String type) |
List<InputSummaryResponse> |
getAllPersisted() |
Map<String,String> |
getAvailableInputs() |
List<InputState> |
getInputStates() |
InputSummaryResponse |
getPersisted(String inputId) |
MessageInput |
getRunningInput(String inputId) |
List<InputState> |
getRunningInputs() |
boolean |
hasTypeRunning(Class klazz) |
String |
launch(MessageInput input,
Boolean register) |
String |
launch(MessageInput input,
String id,
boolean register) |
void |
launchAllPersisted() |
String |
launchPersisted(InputSummaryResponse isr) |
void |
register(Class clazz,
String name) |
void |
registerInCluster(MessageInput input) |
void |
removeFromRunning(MessageInput input) |
int |
runningCount() |
void |
unregisterInCluster(MessageInput input) |
public InputRegistry(InputHost radio)
public String launch(MessageInput input, String id, boolean register)
public void cleanInput(MessageInput input)
public static MessageInput factory(String type) throws NoSuchInputTypeException
NoSuchInputTypeExceptionpublic void removeFromRunning(MessageInput input)
public String launchPersisted(InputSummaryResponse isr)
public void launchAllPersisted()
throws InterruptedException,
ExecutionException,
IOException
public String launch(MessageInput input, Boolean register)
public void registerInCluster(MessageInput input) throws ExecutionException, InterruptedException, IOException
public void unregisterInCluster(MessageInput input) throws ExecutionException, InterruptedException, IOException
public List<InputSummaryResponse> getAllPersisted() throws ExecutionException, InterruptedException, IOException
public InputSummaryResponse getPersisted(String inputId) throws ExecutionException, InterruptedException, IOException
public List<InputState> getInputStates()
public List<InputState> getRunningInputs()
public boolean hasTypeRunning(Class klazz)
public int runningCount()
public MessageInput getRunningInput(String inputId)
Copyright © 2014. All Rights Reserved.