Package org.springframework.pulsar.event
Class ConsumerStartedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.pulsar.event.PulsarEvent
org.springframework.pulsar.event.ConsumerStartedEvent
- All Implemented Interfaces:
Serializable
Event to publish when the consumer is started.
- Author:
- Soby Chacko
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionConsumerStartedEvent
(Object source, Object container) Construct an instance with the provided source and container. -
Method Summary
Methods inherited from class org.springframework.pulsar.event.PulsarEvent
getContainer, getSource
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
ConsumerStartedEvent
Construct an instance with the provided source and container.- Parameters:
source
- the container instance that generated the event.container
- the container or the parent container if the container is a child.
-
-
Method Details
-
toString
- Overrides:
toString
in classEventObject
-