18 #ifndef _ACTIVEMQ_CORE_FIFOMESSAGEDISPATCHCHANNEL_H_ 19 #define _ACTIVEMQ_CORE_FIFOMESSAGEDISPATCHCHANNEL_H_ 53 virtual bool isEmpty()
const;
77 virtual int size()
const;
79 virtual std::vector<Pointer<MessageDispatch> > removeAll();
99 virtual void wait(
long long millisecs) {
100 channel.
wait(millisecs);
103 virtual void wait(
long long millisecs,
int nanos) {
104 channel.
wait(millisecs, nanos);
virtual bool tryLock()
Attempts to Lock the object, if the lock is already held by another thread than this method returns f...
Definition: FifoMessageDispatchChannel.h:87
#define AMQCPP_API
Definition: Config.h:30
virtual void notifyAll()
Signals the waiters on this object that it can now wake up and continue.
Definition: FifoMessageDispatchChannel.h:111
virtual bool isRunning() const
Definition: FifoMessageDispatchChannel.h:59
virtual void wait()
Waits on a signal from this object, which is generated by a call to Notify.
Definition: FifoMessageDispatchChannel.h:95
virtual bool tryLock()=0
Attempts to Lock the object, if the lock is already held by another thread than this method returns f...
virtual void notify()=0
Signals a waiter on this object that it can now wake up and continue.
virtual void wait(long long millisecs, int nanos)
Waits on a signal from this object, which is generated by a call to Notify.
Definition: FifoMessageDispatchChannel.h:103
virtual void lock()
Locks the object.
Definition: FifoMessageDispatchChannel.h:83
virtual void unlock()=0
Unlocks the object.
Definition: FifoMessageDispatchChannel.h:30
virtual bool isClosed() const
Definition: FifoMessageDispatchChannel.h:55
virtual void notify()
Signals a waiter on this object that it can now wake up and continue.
Definition: FifoMessageDispatchChannel.h:107
virtual void unlock()
Unlocks the object.
Definition: FifoMessageDispatchChannel.h:91
virtual void lock()=0
Locks the object.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
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()=0
Waits on a signal from this object, which is generated by a call to Notify.
virtual void notifyAll()=0
Signals the waiters on this object that it can now wake up and continue.
virtual void wait(long long millisecs)
Waits on a signal from this object, which is generated by a call to Notify.
Definition: FifoMessageDispatchChannel.h:99
A complete implementation of the List interface using a doubly linked list data structure.
Definition: LinkedList.h:55