To administratively cancel a timer, use the following rhino-console command or related MBean operation.
Console command: canceltimer
Command |
canceltimer <timer id>
Description
Cancel timer
|
|---|---|
Example |
To cancel the timer with the primary key $ ./rhino-console canceltimer 10.101:244325023613578.0.7661 Timer removed |
MBean operation: cancelTimer
MBean |
|
|---|---|
Rhino operation |
public void cancelTimer(String timerID)
throws InvalidPKeyException, UnknownTimerException,
ManagementException;
This operation cancels the timer with the given primary key. |
