#include <Synchronizable.h>
Inheritance diagram for activemq::concurrent::Synchronizable:
Public Member Functions | |
virtual | ~Synchronizable () |
virtual void | lock ()=0 throw (exceptions::ActiveMQException) |
virtual void | unlock ()=0 throw (exceptions::ActiveMQException) |
virtual void | wait ()=0 throw (exceptions::ActiveMQException) |
virtual void | wait (unsigned long millisecs)=0 throw (exceptions::ActiveMQException) |
virtual void | notify ()=0 throw ( exceptions::ActiveMQException ) |
virtual void | notifyAll ()=0 throw ( exceptions::ActiveMQException ) |
|
|
|
|
Signals a waiter on this object that it can now wake up and continue. Must have this object locked before calling.
Implemented in activemq::concurrent::Mutex, activemq::io::BufferedInputStream, activemq::io::BufferedOutputStream, activemq::io::ByteArrayInputStream, activemq::io::ByteArrayOutputStream, activemq::network::SocketInputStream, activemq::network::SocketOutputStream, activemq::transport::FutureResponse, activemq::util::Queue< T >, activemq::util::Queue< Task >, and activemq::util::Queue< cms::Message * >. |
|
Signals the waiters on this object that it can now wake up and continue. Must have this object locked before calling.
Implemented in activemq::concurrent::Mutex, activemq::io::BufferedInputStream, activemq::io::BufferedOutputStream, activemq::io::ByteArrayInputStream, activemq::io::ByteArrayOutputStream, activemq::network::SocketInputStream, activemq::network::SocketOutputStream, activemq::transport::FutureResponse, activemq::util::Queue< T >, activemq::util::Queue< Task >, and activemq::util::Queue< cms::Message * >. |
|
Unlocks the object.
Implemented in activemq::concurrent::Mutex, activemq::io::BufferedInputStream, activemq::io::BufferedOutputStream, activemq::io::ByteArrayInputStream, activemq::io::ByteArrayOutputStream, activemq::network::SocketInputStream, activemq::network::SocketOutputStream, activemq::transport::FutureResponse, activemq::util::Queue< T >, activemq::util::Queue< Task >, and activemq::util::Queue< cms::Message * >. |
|
Waits on a signal from this object, which is generated by a call to Notify. Must have this object locked before calling. This wait will timeout after the specified time interval.
Implemented in activemq::concurrent::Mutex, activemq::io::BufferedInputStream, activemq::io::BufferedOutputStream, activemq::io::ByteArrayInputStream, activemq::io::ByteArrayOutputStream, activemq::network::SocketInputStream, activemq::network::SocketOutputStream, activemq::transport::FutureResponse, activemq::util::Queue< T >, activemq::util::Queue< Task >, and activemq::util::Queue< cms::Message * >. |
|
Waits on a signal from this object, which is generated by a call to Notify. Must have this object locked before calling.
Implemented in activemq::concurrent::Mutex, activemq::io::BufferedInputStream, activemq::io::BufferedOutputStream, activemq::io::ByteArrayInputStream, activemq::io::ByteArrayOutputStream, activemq::network::SocketInputStream, activemq::network::SocketOutputStream, activemq::transport::FutureResponse, activemq::util::Queue< T >, activemq::util::Queue< Task >, and activemq::util::Queue< cms::Message * >. |