Package org.jgroups

Interface Lifecycle

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void destroy()
      Called after an instance has been stopped.
      default void init()
      Called after an instance has been created and before it is started.
      default void start()
      This method is called after an instance has been initialized.
      default void stop()
      Called before an instance is stopped; stops work.
    • Method Detail

      • init

        default void init()
                   throws java.lang.Exception
        Called after an instance has been created and before it is started.
        Throws:
        java.lang.Exception - Thrown if the instance cannot be initialized successfully.
      • start

        default void start()
                    throws java.lang.Exception
        This method is called after an instance has been initialized. Starts work.
        Throws:
        java.lang.Exception - Thrown if the instance cannot be started successfully.
      • stop

        default void stop()
        Called before an instance is stopped; stops work.
      • destroy

        default void destroy()
        Called after an instance has been stopped. Cleans up resources