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() |
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() |
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 void init()
public void destroy()
public String getKubernetesAddress()
getKubernetesAddress
in interface AppViewMXBean
public 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 AppViewMXBean
com.fasterxml.jackson.core.JsonProcessingException
protected void refreshData()
public AppViewSnapshot createSnapshot()
protected String getAppPath(String serviceId)
public MBeanServer getMBeanServer()
public void setMBeanServer(MBeanServer mbeanServer)
Copyright © 2011–2014 Red Hat. All rights reserved.