public interface SliderApplicationApi
| Modifier and Type | Method and Description |
|---|---|
Map<String,ComponentInformation> |
enumComponents()
List all components into a map of [name:info]
|
Map<String,ContainerInformation> |
enumContainers()
Get a map of live containers [containerId:info]
|
ApplicationLivenessInformation |
getApplicationLiveness()
Get the application liveness
|
ComponentInformation |
getComponent(String componentName)
Get information about a component
|
ContainerInformation |
getContainer(String containerId)
Get a container from the container Id
|
ConfTreeOperations |
getDesiredAppconf()
Get the desired application configuration
|
AggregateConf |
getDesiredModel()
Get the aggregate desired model
|
ConfTreeOperations |
getDesiredResources()
Get the desired YARN resources
|
NodeInformation |
getLiveNode(String hostname)
Get information about a node
|
NodeInformationList |
getLiveNodes()
List all nodes into a map of [name:info]
|
ConfTreeOperations |
getLiveResources()
Get the live YARN resources
|
ConfTreeOperations |
getResolvedAppconf()
Get the resolved application configuration
|
AggregateConf |
getResolvedModel()
Get the aggregate resolved model
|
ConfTreeOperations |
getResolvedResources()
Get the resolved YARN resources
|
PingInformation |
ping(String text)
Ping as a GET
|
void |
putDesiredResources(ConfTree updated)
Put an updated resources structure.
|
void |
stop(String text)
Stop the AM (async operation)
|
AggregateConf getDesiredModel() throws IOException
IOException - on any failureConfTreeOperations getDesiredAppconf() throws IOException
IOException - on any failureConfTreeOperations getDesiredResources() throws IOException
IOException - on any failurevoid putDesiredResources(ConfTree updated) throws IOException
updated - updated resourcesIOException - on any problem.AggregateConf getResolvedModel() throws IOException
IOException - on any failureConfTreeOperations getResolvedAppconf() throws IOException
IOException - on any failureConfTreeOperations getResolvedResources() throws IOException
IOException - on any failureConfTreeOperations getLiveResources() throws IOException
IOException - on any failureMap<String,ContainerInformation> enumContainers() throws IOException
IOException - on any failureContainerInformation getContainer(String containerId) throws IOException
containerId - YARN container IDIOException - on any failureMap<String,ComponentInformation> enumComponents() throws IOException
IOException - on any failureComponentInformation getComponent(String componentName) throws IOException
componentName - name of the componentIOException - on any failureNodeInformationList getLiveNodes() throws IOException
IOException - on any failureNodeInformation getLiveNode(String hostname) throws IOException
hostname - name of the nodeIOException - on any failurePingInformation ping(String text) throws IOException
text - text to includeIOException - on any failurevoid stop(String text) throws IOException
text - text to includeIOException - on any failureApplicationLivenessInformation getApplicationLiveness() throws IOException
IOExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.