18 #ifndef _ACTIVEMQ_CORE_SIMPLEPRIORITYMESSAGEDISPATCHCHANNEL_H_
19 #define _ACTIVEMQ_CORE_SIMPLEPRIORITYMESSAGEDISPATCHCHANNEL_H_
36 static const int MAX_PRIORITIES;
61 virtual bool isEmpty()
const;
85 virtual int size()
const;
87 virtual std::vector<Pointer<MessageDispatch> > removeAll();
107 virtual void wait(
long long millisecs) {
108 mutex.
wait(millisecs);
111 virtual void wait(
long long millisecs,
int nanos) {
112 mutex.
wait(millisecs, nanos);
virtual void notify()
Signals a waiter on this object that it can now wake up and continue.
Definition: SimplePriorityMessageDispatchChannel.h:115
virtual bool tryLock()
Attempts to Lock the object, if the lock is already held by another thread than this method returns f...
virtual bool tryLock()
Attempts to Lock the object, if the lock is already held by another thread than this method returns f...
Definition: SimplePriorityMessageDispatchChannel.h:95
Mutex object that offers recursive support on all platforms as well as providing the ability to use t...
Definition: Mutex.h:39
Definition: SimplePriorityMessageDispatchChannel.h:33
#define AMQCPP_API
Definition: Config.h:30
virtual void unlock()
Unlocks the object.
virtual void wait()
Waits on a signal from this object, which is generated by a call to Notify.
virtual void unlock()
Unlocks the object.
Definition: SimplePriorityMessageDispatchChannel.h:99
virtual void notifyAll()
Signals the waiters on this object that it can now wake up and continue.
Definition: SimplePriorityMessageDispatchChannel.h:119
virtual void notifyAll()
Signals the waiters on this object that it can now wake up and continue.
virtual bool isClosed() const
Definition: SimplePriorityMessageDispatchChannel.h:63
virtual void notify()
Signals a waiter on this object that it can now wake up and continue.
virtual void lock()
Locks the object.
virtual void wait()
Waits on a signal from this object, which is generated by a call to Notify.
Definition: SimplePriorityMessageDispatchChannel.h:103
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition: ArrayPointer.h:51
virtual void wait(long long millisecs, int nanos)
Waits on a signal from this object, which is generated by a call to Notify.
Definition: SimplePriorityMessageDispatchChannel.h:111
virtual bool isRunning() const
Definition: SimplePriorityMessageDispatchChannel.h:67
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
virtual void lock()
Locks the object.
Definition: SimplePriorityMessageDispatchChannel.h:91
Definition: MessageDispatchChannel.h:34
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition: Pointer.h:53
virtual void wait(long long millisecs)
Waits on a signal from this object, which is generated by a call to Notify.
Definition: SimplePriorityMessageDispatchChannel.h:107
A complete implementation of the List interface using a doubly linked list data structure.
Definition: LinkedList.h:55