TimerMBean

Interface TimerMBean

All Known Implementing Classes:
Timer
public interface TimerMBean

Exposes the management interface of the timer MBean.

Since:
1.5

Methods

start

void start()

Starts the timer.

If there is one or more timer notifications before the time in the list of notifications, the notification is sent according to the sendPastNotifications flag and then, updated according to its period and remaining number of occurrences. If the timer notification date remains earlier than the current date, this notification is just removed from the list of notifications.

stop

void stop()

Stops the timer.

登录查看完整内容