Lines Matching defs:timer

26 package javax.management.timer;
43 * Exposes the management interface of the timer MBean.
50 * Starts the timer.
52 * If there is one or more timer notifications before the time in the list of notifications, the notification
55 * If the timer notification date remains earlier than the current date, this notification is just removed
61 * Stops the timer.
66 * Creates a new timer notification with the specified <CODE>type</CODE>, <CODE>message</CODE>
70 * If the timer notification to be inserted has a date that is before the current date,
76 * Note that once the timer notification has been added into the list of notifications,
82 * @param type The timer notification type.
83 * @param message The timer notification detailed message.
84 * @param userData The timer notification user data object.
86 * @param period The period of the timer notification (in milliseconds).
87 * @param nbOccurences The total number the timer notification will be emitted.
94 * @return The identifier of the new created timer notification.
111 * Creates a new timer notification with the specified <CODE>type</CODE>, <CODE>message</CODE>
115 * If the timer notification to be inserted has a date that is before the current date,
121 * Note that once the timer notification has been added into the list of notifications,
128 * @param type The timer notification type.
129 * @param message The timer notification detailed message.
130 * @param userData The timer notification user data object.
132 * @param period The period of the timer notification (in milliseconds).
133 * @param nbOccurences The total number the timer notification will be emitted.
135 * @return The identifier of the new created timer notification.
152 * Creates a new timer notification with the specified <CODE>type</CODE>, <CODE>message</CODE>
156 * The timer notification will repeat continuously using the timer period using a <i>fixed-delay</i>
161 * If the timer notification to be inserted has a date that is before the current date,
166 * @param type The timer notification type.
167 * @param message The timer notification detailed message.
168 * @param userData The timer notification user data object.
170 * @param period The period of the timer notification (in milliseconds).
172 * @return The identifier of the new created timer notification.
187 * Creates a new timer notification with the specified <CODE>type</CODE>, <CODE>message</CODE>
191 * The timer notification will be handled once at the specified date.
193 * If the timer notification to be inserted has a date that is before the current date,
197 * @param type The timer notification type.
198 * @param message The timer notification detailed message.
199 * @param userData The timer notification user data object.
202 * @return The identifier of the new created timer notification.
215 * Removes the timer notification corresponding to the specified identifier from the list of notifications.
217 * @param id The timer notification identifier.
219 * @exception InstanceNotFoundException The specified identifier does not correspond to any timer notification
220 * in the list of notifications of this timer MBean.
225 * Removes all the timer notifications corresponding to the specified type from the list of notifications.
227 * @param type The timer notification type.
229 * @exception InstanceNotFoundException The specified type does not correspond to any timer notification
230 * in the list of notifications of this timer MBean.
235 * Removes all the timer notifications from the list of notifications
236 * and resets the counter used to update the timer notification identifiers.
244 * Gets the number of timer notifications registered into the list of notifications.
246 * @return The number of timer notifications.
251 * Gets all timer notification identifiers registered into the list of notifications.
253 * @return A vector of <CODE>Integer</CODE> objects containing all the timer notification identifiers.
254 * <BR>The vector is empty if there is no timer notification registered for this timer MBean.
259 * Gets all the identifiers of timer notifications corresponding to the specified type.
261 * @param type The timer notification type.
264 * timer notifications with the specified <CODE>type</CODE>.
265 * <BR>The vector is empty if there is no timer notifications registered for this timer MBean
271 * Gets the timer notification type corresponding to the specified identifier.
273 * @param id The timer notification identifier.
275 * @return The timer notification type or null if the identifier is not mapped to any
276 * timer notification registered for this timer MBean.
281 * Gets the timer notification detailed message corresponding to the specified identifier.
283 * @param id The timer notification identifier.
285 * @return The timer notification detailed message or null if the identifier is not mapped to any
286 * timer notification registered for this timer MBean.
291 * Gets the timer notification user data object corresponding to the specified identifier.
293 * @param id The timer notification identifier.
295 * @return The timer notification user data object or null if the identifier is not mapped to any
296 * timer notification registered for this timer MBean.
303 * Gets a copy of the date associated to a timer notification.
305 * @param id The timer notification identifier.
308 * timer notification registered for this timer MBean.
313 * Gets a copy of the period (in milliseconds) associated to a timer notification.
315 * @param id The timer notification identifier.
318 * timer notification registered for this timer MBean.
323 * Gets a copy of the remaining number of occurrences associated to a timer notification.
325 * @param id The timer notification identifier.
328 * timer notification registered for this timer MBean.
336 * @param id The timer notification identifier.
344 * Gets the flag indicating whether or not the timer sends past notifications.
353 * Sets the flag indicating whether the timer sends past notifications or not.
362 * Tests whether the timer MBean is active.
363 * A timer MBean is marked active when the {@link #start start} method is called.
366 * @return <CODE>true</CODE> if the timer MBean is active, <CODE>false</CODE> otherwise.
371 * Tests whether the list of timer notifications is empty.
373 * @return <CODE>true</CODE> if the list of timer notifications is empty, <CODE>false</CODE> otherwise.