Package org.apache.activemq.advisory
Class ProducerStoppedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.apache.activemq.advisory.ProducerEvent
-
- org.apache.activemq.advisory.ProducerStoppedEvent
-
- All Implemented Interfaces:
Serializable
public class ProducerStoppedEvent extends ProducerEvent
An event generated when a consumer stops.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ProducerStoppedEvent(ProducerEventSource source, ActiveMQDestination destination, ProducerId consumerId, int count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isStarted()
-
Methods inherited from class org.apache.activemq.advisory.ProducerEvent
getAdvisor, getDestination, getProducerCount, getProducerId
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
ProducerStoppedEvent
public ProducerStoppedEvent(ProducerEventSource source, ActiveMQDestination destination, ProducerId consumerId, int count)
-
-
Method Detail
-
isStarted
public boolean isStarted()
- Specified by:
isStarted
in classProducerEvent
-
-