org.apache.activemq.advisory
Class ProducerEvent
java.lang.Object
java.util.EventObject
org.apache.activemq.advisory.ProducerEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ProducerStartedEvent, ProducerStoppedEvent
public abstract class ProducerEvent
- extends java.util.EventObject
An event when the number of producers on a given destination changes.
- Version:
- $Revision: 359679 $
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProducerEvent
public ProducerEvent(ProducerEventSource source,
javax.jms.Destination destination,
ProducerId producerId,
int producerCount)
getAdvisor
public ProducerEventSource getAdvisor()
getDestination
public javax.jms.Destination getDestination()
getProducerCount
public int getProducerCount()
- Returns the current number of producers active at the time this advisory was sent.
getProducerId
public ProducerId getProducerId()
isStarted
public abstract boolean isStarted()
Copyright © 2009 Apache Software Foundation. All Rights Reserved.