Class ManagedDestinationImpl
- java.lang.Object
-
- org.opennms.features.activemq.broker.impl.ManagedDestinationImpl
-
- All Implemented Interfaces:
ManagedDestination
public class ManagedDestinationImpl extends Object implements ManagedDestination
-
-
Constructor Summary
Constructors Constructor Description ManagedDestinationImpl(org.apache.activemq.command.ActiveMQDestination def, org.apache.activemq.broker.region.Destination dest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetDequeueCount()longgetEnqueueCount()longgetMessageCount()StringgetName()booleanisCursorFull()booleanisQueue()booleanisTemporary()booleanisTopic()voidpurge()
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceManagedDestination
-
isQueue
public boolean isQueue()
- Specified by:
isQueuein interfaceManagedDestination
-
isTopic
public boolean isTopic()
- Specified by:
isTopicin interfaceManagedDestination
-
isTemporary
public boolean isTemporary()
- Specified by:
isTemporaryin interfaceManagedDestination
-
getMessageCount
public long getMessageCount()
- Specified by:
getMessageCountin interfaceManagedDestination
-
getEnqueueCount
public long getEnqueueCount()
- Specified by:
getEnqueueCountin interfaceManagedDestination
-
getDequeueCount
public long getDequeueCount()
- Specified by:
getDequeueCountin interfaceManagedDestination
-
isCursorFull
public boolean isCursorFull()
- Specified by:
isCursorFullin interfaceManagedDestination
-
purge
public void purge() throws Exception- Specified by:
purgein interfaceManagedDestination- Throws:
Exception
-
-