Package org.springframework.kafka.event
Class ContainerStoppedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- org.springframework.kafka.event.KafkaEvent
-
- org.springframework.kafka.event.ContainerStoppedEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ContainerStoppedEvent extends KafkaEvent
An event published when a container is stopped.- Since:
- 2.2
- Author:
- Gary Russell
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContainerStoppedEvent(java.lang.Object source, java.lang.Object container)
Construct an instance with the provided source and container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class org.springframework.kafka.event.KafkaEvent
getContainer, getSource
-
-
-
-
Constructor Detail
-
ContainerStoppedEvent
public ContainerStoppedEvent(java.lang.Object source, java.lang.Object container)
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.- Since:
- 2.2.1
-
-