Class McastServiceImpl.RecoveryThread

java.lang.Object
java.lang.Thread
org.apache.catalina.tribes.membership.McastServiceImpl.RecoveryThread
All Implemented Interfaces:
Runnable
Enclosing class:
McastServiceImpl

protected static class McastServiceImpl.RecoveryThread extends Thread
Thread that handles recovery.
  • Constructor Details

    • RecoveryThread

      public RecoveryThread(McastServiceImpl parent)
      Constructor.
      Parameters:
      parent - the parent service
  • Method Details

    • recover

      public static void recover(McastServiceImpl parent)
      Recover the mcast service.
      Parameters:
      parent - the parent service
    • stopService

      public boolean stopService()
      Stop the service.
      Returns:
      true if stopped successfully
    • startService

      public boolean startService()
      Start the service.
      Returns:
      true if started successfully
    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread