Class ManagedDestinationImpl
- java.lang.Object
-
- org.opennms.features.activemq.broker.impl.ManagedDestinationImpl
-
- All Implemented Interfaces:
ManagedDestination
public class ManagedDestinationImpl extends java.lang.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 long
getDequeueCount()
long
getEnqueueCount()
long
getMessageCount()
java.lang.String
getName()
boolean
isCursorFull()
boolean
isQueue()
boolean
isTemporary()
boolean
isTopic()
void
purge()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceManagedDestination
-
isQueue
public boolean isQueue()
- Specified by:
isQueue
in interfaceManagedDestination
-
isTopic
public boolean isTopic()
- Specified by:
isTopic
in interfaceManagedDestination
-
isTemporary
public boolean isTemporary()
- Specified by:
isTemporary
in interfaceManagedDestination
-
getMessageCount
public long getMessageCount()
- Specified by:
getMessageCount
in interfaceManagedDestination
-
getEnqueueCount
public long getEnqueueCount()
- Specified by:
getEnqueueCount
in interfaceManagedDestination
-
getDequeueCount
public long getDequeueCount()
- Specified by:
getDequeueCount
in interfaceManagedDestination
-
isCursorFull
public boolean isCursorFull()
- Specified by:
isCursorFull
in interfaceManagedDestination
-
purge
public void purge() throws java.lang.Exception
- Specified by:
purge
in interfaceManagedDestination
- Throws:
java.lang.Exception
-
-