public interface MonitoringService extends ConfigExtension, PropertyBag
| Modifier and Type | Interface and Description |
|---|---|
static class |
MonitoringService.Duck |
| Modifier and Type | Field and Description |
|---|---|
static LocalStringManagerImpl |
localStrings |
| Modifier and Type | Method and Description |
|---|---|
List<ContainerMonitoring> |
getContainerMonitoring()
Get the monitoring configuration for containers that used the default ContainerMonitoring.
|
ContainerMonitoring |
getContainerMonitoring(String name)
Return the monitoring configuration for a container by the provided name, assuming the named container used the default ContainerMonitoring to express
its monitoring configuration.
|
String |
getDtraceEnabled()
Gets the value of the dtrace-enabled attribute.
|
String |
getMbeanEnabled()
Gets the value of the mbean-enabled attribute.
|
@NotNull ModuleMonitoringLevels |
getModuleMonitoringLevels()
Gets the value of the moduleMonitoringLevels property.
|
String |
getMonitoringEnabled()
Gets the value of the monitoring-enabled attribute.
|
List<MonitoringItem> |
getMonitoringItems()
Get the monitoring configuration for other types of containers that used custom monitoring configuration.
|
String |
getMonitoringLevel(String name) |
List<Property> |
getProperty()
Properties as per
PropertyBag |
boolean |
isAnyModuleOn() |
void |
setDtraceEnabled(String value)
Sets the value of the dtrace-enabled attribute.
|
void |
setMbeanEnabled(String value)
Sets the value of the mbean-enabled attribute.
|
void |
setModuleMonitoringLevels(ModuleMonitoringLevels value)
Sets the value of the moduleMonitoringLevels property.
|
void |
setMonitoringEnabled(String value)
Sets the value of the monitoring-enabled attribute.
|
void |
setMonitoringLevel(String name,
String level) |
createChild, deepCopy, getParent, getParentaddProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removePropertystatic final LocalStringManagerImpl localStrings
@NotNull @NotNull ModuleMonitoringLevels getModuleMonitoringLevels()
ModuleMonitoringLevelsvoid setModuleMonitoringLevels(ModuleMonitoringLevels value) throws PropertyVetoException
value - allowed object is ModuleMonitoringLevelsPropertyVetoException@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<Property> getProperty()
PropertyBaggetProperty in interface PropertyBagString getMbeanEnabled()
void setMbeanEnabled(String value) throws PropertyVetoException
value - allowed object is a StringPropertyVetoExceptionString getMonitoringEnabled()
void setMonitoringEnabled(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionString getDtraceEnabled()
void setDtraceEnabled(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionList<ContainerMonitoring> getContainerMonitoring()
List<MonitoringItem> getMonitoringItems()
@DuckTyped ContainerMonitoring getContainerMonitoring(String name)
name - name of the container to return the configuration for@DuckTyped String getMonitoringLevel(String name)
@DuckTyped void setMonitoringLevel(String name, String level)
@DuckTyped boolean isAnyModuleOn()
Copyright © 2019. All rights reserved.