Class RqueueBootstrapEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.github.sonus21.rqueue.models.event.RqueueBootstrapEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class RqueueBootstrapEvent extends org.springframework.context.ApplicationEventThis 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.
startis false means it's shutdown event otherwise it's bootstrap event.- See Also:
- Serialized Form
-
-
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 booleanisShutdown()booleanisStartup()
-