Class RqueueBootstrapEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class RqueueBootstrapEvent
    extends org.springframework.context.ApplicationEvent
    This event is generated at RqueueContainer startup and shutdown.

    This event can be used for different purpose, like registering some queue once Rqueue has started, deleting all queue messages, cleaning up some resources at shutdown etc.

    start is false means it's shutdown event otherwise it's bootstrap event.

    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      RqueueBootstrapEvent​(java.lang.Object source, boolean start)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isShutdown()  
      boolean isStartup()  
      • Methods inherited from class org.springframework.context.ApplicationEvent

        getTimestamp
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RqueueBootstrapEvent

        public RqueueBootstrapEvent​(java.lang.Object source,
                                    boolean start)
    • Method Detail

      • isStartup

        public boolean isStartup()
      • isShutdown

        public boolean isShutdown()