Class RqueueBootstrapEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.github.sonus21.rqueue.models.event.RqueueBootstrapEvent
- All Implemented Interfaces:
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:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
RqueueBootstrapEvent
-
-
Method Details
-
isStartup
public boolean isStartup() -
isShutdown
public boolean isShutdown()
-