Package org.jppf.client.monitoring.jobs
Enum Class JobMonitorUpdateMode
- All Implemented Interfaces:
Serializable,Comparable<JobMonitorUpdateMode>,Constable
Enumeration of the possible ways job updates are published as events by the job monitor.
- Since:
- 5.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUpdates are computed from JMX notifications and published periodically as job monitor events.Updates are computed from JMX notifications and pushed immediately as job monitor events.Updates are computed by polling information on the jobs from the drivers at regular intervals. -
Method Summary
Modifier and TypeMethodDescriptionstatic JobMonitorUpdateModeReturns the enum constant of this class with the specified name.static JobMonitorUpdateMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POLLING
Updates are computed by polling information on the jobs from the drivers at regular intervals. -
IMMEDIATE_NOTIFICATIONS
Updates are computed from JMX notifications and pushed immediately as job monitor events. This means one event for each jmx notification. -
DEFERRED_NOTIFICATIONS
Updates are computed from JMX notifications and published periodically as job monitor events. Notifications are merged/aggregated in the interval between publications.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-