public interface MonitoringService extends ConfigExtension, org.jvnet.hk2.config.types.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.
|
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<org.jvnet.hk2.config.types.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) |
static final LocalStringManagerImpl localStrings
@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<org.jvnet.hk2.config.types.Property> getProperty()
PropertyBaggetProperty in interface org.jvnet.hk2.config.types.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 boolean isAnyModuleOn()
Copyright © 2017. All rights reserved.