public class Controls
extends java.lang.Object
ControlService
Modifier and Type | Field and Description |
---|---|
static int |
JOB_HOLD_AFTER_CLOSE_SECS
Number of seconds a
JobMXBean
control is held registered with the ControlService after a job
gets closed. |
Constructor and Description |
---|
Controls() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isControlServiceMBean(java.lang.Class<?> controlInterface)
Test to see if an interface represents a valid
control service MBean.
|
public static final int JOB_HOLD_AFTER_CLOSE_SECS
JobMXBean
control is held registered with the ControlService
after a job
gets closed. After this period the bean gets unregistered from the
service.public static boolean isControlServiceMBean(java.lang.Class<?> controlInterface)
ControlService
must support control MBeans for which this
method returns true.
String, boolean, int, long, double
.controlInterface
- class of the control interfaceCopyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641