Package org.glassfish.api.monitoring
Interface ContainerMonitoring
-
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy
,Named
public interface ContainerMonitoring extends org.jvnet.hk2.config.ConfigBeanProxy, Named
Default monitoring configuration for containers. Containers can provide their configuration through the ContainerMonitoring interface.- Author:
- Nandini Ektare, Byron Nevins (3.1+)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull String
getLevel()
The monitoring level of this monitoring itemvoid
setLevel(String level)
Set the level of this monitoring module
-
-
-
Field Detail
-
LEVEL_OFF
static final String LEVEL_OFF
- See Also:
- Constant Field Values
-
LEVEL_LOW
static final String LEVEL_LOW
- See Also:
- Constant Field Values
-
LEVEL_HIGH
static final String LEVEL_HIGH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLevel
@NotNull @NotNull String getLevel()
The monitoring level of this monitoring item- Returns:
- String with values HIGH/LOW/OFF
-
setLevel
void setLevel(String level) throws PropertyVetoException
Set the level of this monitoring module- Parameters:
level
- new monitoring level- Throws:
PropertyVetoException
-
-