| Modifier and Type | Field and Description |
|---|---|
protected StateAccessForProviders |
appState |
protected CertificateManager |
certificateManager |
protected ProviderService |
provider |
| Constructor and Description |
|---|
WebAppApiImpl(StateAccessForProviders appState,
ProviderService provider,
CertificateManager certificateManager,
org.apache.hadoop.registry.client.api.RegistryOperations registryOperations,
MetricsAndMonitoring metricsAndMonitoring,
QueueAccess queues,
AppMasterActionOperations appMasterOperations,
ContentCache contentCache) |
| Modifier and Type | Method and Description |
|---|---|
AgentRestOperations |
getAgentRestOperations()
Returns an interface that can support the agent-based REST operations.
|
AppMasterActionOperations |
getAMOperations()
API for AM operations
|
StateAccessForProviders |
getAppState()
The
AppState for the current cluster |
CertificateManager |
getCertificateManager()
The
CertificateManager for the current cluster |
ContentCache |
getContentCache()
Local cache of content
|
MetricsAndMonitoring |
getMetricsAndMonitoring()
Metrics and monitoring service
|
ProviderService |
getProviderService()
The
ProviderService for the current cluster |
QueueAccess |
getQueues()
Get the queue accessor
|
org.apache.hadoop.registry.client.api.RegistryOperations |
getRegistryOperations()
Registry operations accessor
|
Map<String,RoleStatus> |
getRoleStatusByName()
Generate a mapping from role name to its
RoleStatus. |
protected final StateAccessForProviders appState
protected final ProviderService provider
protected final CertificateManager certificateManager
public WebAppApiImpl(StateAccessForProviders appState, ProviderService provider, CertificateManager certificateManager, org.apache.hadoop.registry.client.api.RegistryOperations registryOperations, MetricsAndMonitoring metricsAndMonitoring, QueueAccess queues, AppMasterActionOperations appMasterOperations, ContentCache contentCache)
public StateAccessForProviders getAppState()
WebAppApiAppState for the current clustergetAppState in interface WebAppApipublic ProviderService getProviderService()
WebAppApiProviderService for the current clustergetProviderService in interface WebAppApipublic CertificateManager getCertificateManager()
WebAppApiCertificateManager for the current clustergetCertificateManager in interface WebAppApipublic Map<String,RoleStatus> getRoleStatusByName()
WebAppApiRoleStatus. Be aware that this
is a computed value and not just a gettergetRoleStatusByName in interface WebAppApipublic AgentRestOperations getAgentRestOperations()
WebAppApigetAgentRestOperations in interface WebAppApipublic org.apache.hadoop.registry.client.api.RegistryOperations getRegistryOperations()
WebAppApigetRegistryOperations in interface WebAppApipublic MetricsAndMonitoring getMetricsAndMonitoring()
WebAppApigetMetricsAndMonitoring in interface WebAppApipublic QueueAccess getQueues()
WebAppApipublic AppMasterActionOperations getAMOperations()
WebAppApigetAMOperations in interface WebAppApipublic ContentCache getContentCache()
WebAppApigetContentCache in interface WebAppApiCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.