Class MuteManager
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MuteManager
public MuteManager()The MuteManager class manages mute entries in a system. It provides methods to start and stop the mute manager. The mute manager periodically checks for expired mute entries and takes appropriate actions.
-
-
Method Details
-
start
public void start()The start method is used to start the mute manager. It schedules a task to periodically check for expired mute entries and take appropriate actions. -
stop
public void stop()Stops the MuteManager.This method shuts down the scheduler used by the MuteManager class. It waits for a maximum of 5 seconds for the scheduler to terminate gracefully. If the scheduler has not terminated within the timeout, this method forcibly shuts it down.
If an InterruptedException occurs while waiting for the scheduler to terminate, the scheduler is forcibly shut down and an error message is logged using the GlobalLogger class.
-