public class AppView extends Object implements AppViewMXBean
| Modifier and Type | Field and Description |
|---|---|
static ObjectName |
KUBERNETES_OBJECT_NAME |
static ObjectName |
OBJECT_NAME |
| Constructor and Description |
|---|
AppView() |
AppView(io.fabric8.kubernetes.api.KubernetesClient kubernetes) |
| Modifier and Type | Method and Description |
|---|---|
AppViewSnapshot |
createSnapshot() |
void |
destroy() |
String |
findAppSummariesJson() |
protected String |
getAppPath(String serviceId)
Returns the App path for the given kubernetes service or controller id or null if it cannot be found
|
List<AppSummaryDTO> |
getAppSummaries() |
io.fabric8.kubernetes.api.KubernetesClient |
getKubernetes() |
String |
getKubernetesAddress() |
MBeanServer |
getMBeanServer() |
long |
getPollPeriod() |
AppViewSnapshot |
getSnapshot() |
void |
init() |
protected void |
refreshData() |
void |
setMBeanServer(MBeanServer mbeanServer) |
void |
setPollPeriod(long pollPeriod) |
public static ObjectName OBJECT_NAME
public static ObjectName KUBERNETES_OBJECT_NAME
public AppView()
public AppView(io.fabric8.kubernetes.api.KubernetesClient kubernetes)
public io.fabric8.kubernetes.api.KubernetesClient getKubernetes()
public void init()
public void destroy()
public String getKubernetesAddress()
getKubernetesAddress in interface AppViewMXBeanpublic long getPollPeriod()
public void setPollPeriod(long pollPeriod)
public AppViewSnapshot getSnapshot()
public List<AppSummaryDTO> getAppSummaries()
public String findAppSummariesJson() throws com.fasterxml.jackson.core.JsonProcessingException
findAppSummariesJson in interface AppViewMXBeancom.fasterxml.jackson.core.JsonProcessingExceptionprotected void refreshData()
public AppViewSnapshot createSnapshot()
protected String getAppPath(String serviceId)
public MBeanServer getMBeanServer()
public void setMBeanServer(MBeanServer mbeanServer)
Copyright © 2011–2015 Red Hat. All rights reserved.