activemq-cpp-3.9.5
|
The interface for all synchronizable objects (that is, objects that can be locked and unlocked). More...
#include <src/main/decaf/util/concurrent/Synchronizable.h>
Public Member Functions | |
virtual | ~Synchronizable () |
virtual void | lock ()=0 |
Locks the object. | |
virtual bool | tryLock ()=0 |
Attempts to Lock the object, if the lock is already held by another thread than this method returns false. | |
virtual void | unlock ()=0 |
Unlocks the object. | |
virtual void | wait ()=0 |
Waits on a signal from this object, which is generated by a call to Notify. | |
virtual void | wait (long long millisecs)=0 |
Waits on a signal from this object, which is generated by a call to Notify. | |
virtual void | wait (long long millisecs, int nanos)=0 |
Waits on a signal from this object, which is generated by a call to Notify. | |
virtual void | notify ()=0 |
Signals a waiter on this object that it can now wake up and continue. | |
virtual void | notifyAll ()=0 |
Signals the waiters on this object that it can now wake up and continue. | |
The interface for all synchronizable objects (that is, objects that can be locked and unlocked).
|
virtual |
|
pure virtual |
Locks the object.
RuntimeException | if an error occurs while locking the object. |
Implemented in activemq::core::FifoMessageDispatchChannel, activemq::core::SimplePriorityMessageDispatchChannel, activemq::state::ConcurrentStlMap< K, V, COMPARATOR >, decaf::internal::util::concurrent::SynchronizableImpl, decaf::io::InputStream, decaf::io::OutputStream, decaf::util::AbstractCollection< E >, decaf::util::AbstractCollection< activemq::util::ServiceListener * >, decaf::util::AbstractCollection< decaf::internal::util::Resource * >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::ActiveMQDestination > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::Command > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::DestinationInfo > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::MessageDispatch > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::core::Synchronization > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::transport::Transport > >, decaf::util::AbstractCollection< decaf::net::URI >, decaf::util::AbstractCollection< K >, decaf::util::AbstractCollection< MapEntry< K, V > >, decaf::util::AbstractCollection< PrimitiveValueNode >, decaf::util::AbstractCollection< V >, decaf::util::AbstractMap< K, V >, decaf::util::AbstractMap< E, decaf::util::Set< E > * >, decaf::util::concurrent::ConcurrentStlMap< K, V, COMPARATOR >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::CopyOnWriteArrayList< E >, decaf::util::concurrent::Mutex, decaf::util::StlMap< K, V, COMPARATOR >, decaf::util::StlMap< cms::Session *, SessionResolver * >, decaf::util::StlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::commands::ConsumerInfo >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::StlMap< decaf::lang::Runnable *, decaf::util::TimerTask * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedConsumer * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedProducer * >, decaf::util::StlMap< std::string, activemq::transport::TransportFactory * >, decaf::util::StlMap< std::string, activemq::wireformat::WireFormatFactory * >, decaf::util::StlMap< std::string, cms::Queue * >, decaf::util::StlMap< std::string, cms::Topic * >, decaf::util::StlMap< std::string, PrimitiveValueNode >, and decaf::util::StlQueue< T >.
|
pure virtual |
Signals a waiter on this object that it can now wake up and continue.
Must have this object locked before calling.
IllegalMonitorStateException | - if the current thread is not the owner of the the Synchronizable Object. |
RuntimeException | if an error occurs while notifying one of the waiting threads. |
Implemented in activemq::core::FifoMessageDispatchChannel, activemq::core::SimplePriorityMessageDispatchChannel, activemq::state::ConcurrentStlMap< K, V, COMPARATOR >, decaf::internal::util::concurrent::SynchronizableImpl, decaf::io::InputStream, decaf::io::OutputStream, decaf::util::AbstractCollection< E >, decaf::util::AbstractCollection< activemq::util::ServiceListener * >, decaf::util::AbstractCollection< decaf::internal::util::Resource * >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::ActiveMQDestination > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::Command > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::DestinationInfo > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::MessageDispatch > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::core::Synchronization > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::transport::Transport > >, decaf::util::AbstractCollection< decaf::net::URI >, decaf::util::AbstractCollection< K >, decaf::util::AbstractCollection< MapEntry< K, V > >, decaf::util::AbstractCollection< PrimitiveValueNode >, decaf::util::AbstractCollection< V >, decaf::util::AbstractMap< K, V >, decaf::util::AbstractMap< E, decaf::util::Set< E > * >, decaf::util::concurrent::ConcurrentStlMap< K, V, COMPARATOR >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::CopyOnWriteArrayList< E >, decaf::util::concurrent::Mutex, decaf::util::StlMap< K, V, COMPARATOR >, decaf::util::StlMap< cms::Session *, SessionResolver * >, decaf::util::StlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::commands::ConsumerInfo >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::StlMap< decaf::lang::Runnable *, decaf::util::TimerTask * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedConsumer * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedProducer * >, decaf::util::StlMap< std::string, activemq::transport::TransportFactory * >, decaf::util::StlMap< std::string, activemq::wireformat::WireFormatFactory * >, decaf::util::StlMap< std::string, cms::Queue * >, decaf::util::StlMap< std::string, cms::Topic * >, decaf::util::StlMap< std::string, PrimitiveValueNode >, and decaf::util::StlQueue< T >.
|
pure virtual |
Signals the waiters on this object that it can now wake up and continue.
Must have this object locked before calling.
IllegalMonitorStateException | - if the current thread is not the owner of the the Synchronizable Object. |
RuntimeException | if an error occurs while notifying the waiting threads. |
Implemented in activemq::core::FifoMessageDispatchChannel, activemq::core::SimplePriorityMessageDispatchChannel, activemq::state::ConcurrentStlMap< K, V, COMPARATOR >, decaf::internal::util::concurrent::SynchronizableImpl, decaf::io::InputStream, decaf::io::OutputStream, decaf::util::AbstractCollection< E >, decaf::util::AbstractCollection< activemq::util::ServiceListener * >, decaf::util::AbstractCollection< decaf::internal::util::Resource * >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::ActiveMQDestination > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::Command > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::DestinationInfo > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::MessageDispatch > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::core::Synchronization > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::transport::Transport > >, decaf::util::AbstractCollection< decaf::net::URI >, decaf::util::AbstractCollection< K >, decaf::util::AbstractCollection< MapEntry< K, V > >, decaf::util::AbstractCollection< PrimitiveValueNode >, decaf::util::AbstractCollection< V >, decaf::util::AbstractMap< K, V >, decaf::util::AbstractMap< E, decaf::util::Set< E > * >, decaf::util::concurrent::ConcurrentStlMap< K, V, COMPARATOR >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::CopyOnWriteArrayList< E >, decaf::util::concurrent::Mutex, decaf::util::StlMap< K, V, COMPARATOR >, decaf::util::StlMap< cms::Session *, SessionResolver * >, decaf::util::StlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::commands::ConsumerInfo >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::StlMap< decaf::lang::Runnable *, decaf::util::TimerTask * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedConsumer * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedProducer * >, decaf::util::StlMap< std::string, activemq::transport::TransportFactory * >, decaf::util::StlMap< std::string, activemq::wireformat::WireFormatFactory * >, decaf::util::StlMap< std::string, cms::Queue * >, decaf::util::StlMap< std::string, cms::Topic * >, decaf::util::StlMap< std::string, PrimitiveValueNode >, and decaf::util::StlQueue< T >.
|
pure virtual |
Attempts to Lock the object, if the lock is already held by another thread than this method returns false.
RuntimeException | if an error occurs while locking the object. |
Implemented in activemq::core::FifoMessageDispatchChannel, activemq::core::SimplePriorityMessageDispatchChannel, activemq::state::ConcurrentStlMap< K, V, COMPARATOR >, decaf::internal::util::concurrent::SynchronizableImpl, decaf::io::InputStream, decaf::io::OutputStream, decaf::util::AbstractCollection< E >, decaf::util::AbstractCollection< activemq::util::ServiceListener * >, decaf::util::AbstractCollection< decaf::internal::util::Resource * >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::ActiveMQDestination > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::Command > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::DestinationInfo > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::MessageDispatch > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::core::Synchronization > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::transport::Transport > >, decaf::util::AbstractCollection< decaf::net::URI >, decaf::util::AbstractCollection< K >, decaf::util::AbstractCollection< MapEntry< K, V > >, decaf::util::AbstractCollection< PrimitiveValueNode >, decaf::util::AbstractCollection< V >, decaf::util::AbstractMap< K, V >, decaf::util::AbstractMap< E, decaf::util::Set< E > * >, decaf::util::concurrent::ConcurrentStlMap< K, V, COMPARATOR >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::CopyOnWriteArrayList< E >, decaf::util::concurrent::Mutex, decaf::util::StlMap< K, V, COMPARATOR >, decaf::util::StlMap< cms::Session *, SessionResolver * >, decaf::util::StlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::commands::ConsumerInfo >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::StlMap< decaf::lang::Runnable *, decaf::util::TimerTask * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedConsumer * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedProducer * >, decaf::util::StlMap< std::string, activemq::transport::TransportFactory * >, decaf::util::StlMap< std::string, activemq::wireformat::WireFormatFactory * >, decaf::util::StlMap< std::string, cms::Queue * >, decaf::util::StlMap< std::string, cms::Topic * >, decaf::util::StlMap< std::string, PrimitiveValueNode >, and decaf::util::StlQueue< T >.
|
pure virtual |
Unlocks the object.
RuntimeException | if an error occurs while unlocking the object. |
Implemented in activemq::core::FifoMessageDispatchChannel, activemq::core::SimplePriorityMessageDispatchChannel, activemq::state::ConcurrentStlMap< K, V, COMPARATOR >, decaf::internal::util::concurrent::SynchronizableImpl, decaf::io::InputStream, decaf::io::OutputStream, decaf::util::AbstractCollection< E >, decaf::util::AbstractCollection< activemq::util::ServiceListener * >, decaf::util::AbstractCollection< decaf::internal::util::Resource * >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::ActiveMQDestination > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::Command > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::DestinationInfo > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::MessageDispatch > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::core::Synchronization > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::transport::Transport > >, decaf::util::AbstractCollection< decaf::net::URI >, decaf::util::AbstractCollection< K >, decaf::util::AbstractCollection< MapEntry< K, V > >, decaf::util::AbstractCollection< PrimitiveValueNode >, decaf::util::AbstractCollection< V >, decaf::util::AbstractMap< K, V >, decaf::util::AbstractMap< E, decaf::util::Set< E > * >, decaf::util::concurrent::ConcurrentStlMap< K, V, COMPARATOR >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::CopyOnWriteArrayList< E >, decaf::util::concurrent::Mutex, decaf::util::StlMap< K, V, COMPARATOR >, decaf::util::StlMap< cms::Session *, SessionResolver * >, decaf::util::StlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::commands::ConsumerInfo >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::StlMap< decaf::lang::Runnable *, decaf::util::TimerTask * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedConsumer * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedProducer * >, decaf::util::StlMap< std::string, activemq::transport::TransportFactory * >, decaf::util::StlMap< std::string, activemq::wireformat::WireFormatFactory * >, decaf::util::StlMap< std::string, cms::Queue * >, decaf::util::StlMap< std::string, cms::Topic * >, decaf::util::StlMap< std::string, PrimitiveValueNode >, and decaf::util::StlQueue< T >.
|
pure virtual |
Waits on a signal from this object, which is generated by a call to Notify.
Must have this object locked before calling.
RuntimeException | if an error occurs while waiting on the object. |
InterruptedException | if the wait is interrupted before it completes. |
IllegalMonitorStateException | - if the current thread is not the owner of the the Synchronizable Object. |
Implemented in activemq::core::FifoMessageDispatchChannel, activemq::core::SimplePriorityMessageDispatchChannel, activemq::state::ConcurrentStlMap< K, V, COMPARATOR >, decaf::internal::util::concurrent::SynchronizableImpl, decaf::io::InputStream, decaf::io::OutputStream, decaf::util::AbstractCollection< E >, decaf::util::AbstractCollection< activemq::util::ServiceListener * >, decaf::util::AbstractCollection< decaf::internal::util::Resource * >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::ActiveMQDestination > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::Command > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::DestinationInfo > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::MessageDispatch > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::core::Synchronization > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::transport::Transport > >, decaf::util::AbstractCollection< decaf::net::URI >, decaf::util::AbstractCollection< K >, decaf::util::AbstractCollection< MapEntry< K, V > >, decaf::util::AbstractCollection< PrimitiveValueNode >, decaf::util::AbstractCollection< V >, decaf::util::AbstractMap< K, V >, decaf::util::AbstractMap< E, decaf::util::Set< E > * >, decaf::util::concurrent::ConcurrentStlMap< K, V, COMPARATOR >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::CopyOnWriteArrayList< E >, decaf::util::concurrent::Mutex, decaf::util::StlMap< K, V, COMPARATOR >, decaf::util::StlMap< cms::Session *, SessionResolver * >, decaf::util::StlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::commands::ConsumerInfo >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::StlMap< decaf::lang::Runnable *, decaf::util::TimerTask * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedConsumer * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedProducer * >, decaf::util::StlMap< std::string, activemq::transport::TransportFactory * >, decaf::util::StlMap< std::string, activemq::wireformat::WireFormatFactory * >, decaf::util::StlMap< std::string, cms::Queue * >, decaf::util::StlMap< std::string, cms::Topic * >, decaf::util::StlMap< std::string, PrimitiveValueNode >, and decaf::util::StlQueue< T >.
|
pure virtual |
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.
millisecs | the time in milliseconds to wait, or WAIT_INIFINITE |
RuntimeException | if an error occurs while waiting on the object. |
InterruptedException | if the wait is interrupted before it completes. |
IllegalMonitorStateException | - if the current thread is not the owner of the the Synchronizable Object. |
Implemented in activemq::core::FifoMessageDispatchChannel, activemq::core::SimplePriorityMessageDispatchChannel, activemq::state::ConcurrentStlMap< K, V, COMPARATOR >, decaf::internal::util::concurrent::SynchronizableImpl, decaf::io::InputStream, decaf::io::OutputStream, decaf::util::AbstractCollection< E >, decaf::util::AbstractCollection< activemq::util::ServiceListener * >, decaf::util::AbstractCollection< decaf::internal::util::Resource * >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::ActiveMQDestination > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::Command > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::DestinationInfo > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::MessageDispatch > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::core::Synchronization > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::transport::Transport > >, decaf::util::AbstractCollection< decaf::net::URI >, decaf::util::AbstractCollection< K >, decaf::util::AbstractCollection< MapEntry< K, V > >, decaf::util::AbstractCollection< PrimitiveValueNode >, decaf::util::AbstractCollection< V >, decaf::util::AbstractMap< K, V >, decaf::util::AbstractMap< E, decaf::util::Set< E > * >, decaf::util::concurrent::ConcurrentStlMap< K, V, COMPARATOR >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::CopyOnWriteArrayList< E >, decaf::util::concurrent::Mutex, decaf::util::StlMap< K, V, COMPARATOR >, decaf::util::StlMap< cms::Session *, SessionResolver * >, decaf::util::StlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::commands::ConsumerInfo >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::StlMap< decaf::lang::Runnable *, decaf::util::TimerTask * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedConsumer * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedProducer * >, decaf::util::StlMap< std::string, activemq::transport::TransportFactory * >, decaf::util::StlMap< std::string, activemq::wireformat::WireFormatFactory * >, decaf::util::StlMap< std::string, cms::Queue * >, decaf::util::StlMap< std::string, cms::Topic * >, decaf::util::StlMap< std::string, PrimitiveValueNode >, and decaf::util::StlQueue< T >.
|
pure virtual |
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. This method is similar to the one argument wait function except that it add a finer grained control over the amount of time that it waits by adding in the additional nanosecond argument.
NOTE: The ability to wait accurately at a nanosecond scale depends on the platform and OS that the Decaf API is running on, some systems do not provide an accurate enough clock to provide this level of granularity.
millisecs | the time in milliseconds to wait, or WAIT_INIFINITE |
nanos | additional time in nanoseconds with a range of 0-999999 |
IllegalArgumentException | if an error occurs or the nanos argument is not in the range of [0-999999] |
RuntimeException | if an error occurs while waiting on the object. |
InterruptedException | if the wait is interrupted before it completes. |
IllegalMonitorStateException | - if the current thread is not the owner of the the Synchronizable Object. |
Implemented in activemq::core::FifoMessageDispatchChannel, activemq::core::SimplePriorityMessageDispatchChannel, activemq::state::ConcurrentStlMap< K, V, COMPARATOR >, decaf::internal::util::concurrent::SynchronizableImpl, decaf::io::InputStream, decaf::io::OutputStream, decaf::util::AbstractCollection< E >, decaf::util::AbstractCollection< activemq::util::ServiceListener * >, decaf::util::AbstractCollection< decaf::internal::util::Resource * >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::ActiveMQDestination > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::Command > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::DestinationInfo > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::commands::MessageDispatch > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::core::Synchronization > >, decaf::util::AbstractCollection< decaf::lang::Pointer< activemq::transport::Transport > >, decaf::util::AbstractCollection< decaf::net::URI >, decaf::util::AbstractCollection< K >, decaf::util::AbstractCollection< MapEntry< K, V > >, decaf::util::AbstractCollection< PrimitiveValueNode >, decaf::util::AbstractCollection< V >, decaf::util::AbstractMap< K, V >, decaf::util::AbstractMap< E, decaf::util::Set< E > * >, decaf::util::concurrent::ConcurrentStlMap< K, V, COMPARATOR >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::state::ConsumerState >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::LocalTransactionId >, decaf::lang::Pointer< activemq::state::TransactionState >, decaf::lang::PointerComparator< LocalTransactionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::ProducerId >, decaf::lang::Pointer< activemq::state::ProducerState >, decaf::lang::PointerComparator< ProducerId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::ConcurrentStlMap< decaf::lang::Pointer< activemq::commands::SessionId >, decaf::lang::Pointer< activemq::state::SessionState >, decaf::lang::PointerComparator< SessionId > >, decaf::util::concurrent::CopyOnWriteArrayList< E >, decaf::util::concurrent::Mutex, decaf::util::StlMap< K, V, COMPARATOR >, decaf::util::StlMap< cms::Session *, SessionResolver * >, decaf::util::StlMap< decaf::lang::Pointer< activemq::commands::ConsumerId >, decaf::lang::Pointer< activemq::commands::ConsumerInfo >, decaf::lang::PointerComparator< ConsumerId > >, decaf::util::StlMap< decaf::lang::Runnable *, decaf::util::TimerTask * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedConsumer * >, decaf::util::StlMap< std::string, activemq::cmsutil::CachedProducer * >, decaf::util::StlMap< std::string, activemq::transport::TransportFactory * >, decaf::util::StlMap< std::string, activemq::wireformat::WireFormatFactory * >, decaf::util::StlMap< std::string, cms::Queue * >, decaf::util::StlMap< std::string, cms::Topic * >, decaf::util::StlMap< std::string, PrimitiveValueNode >, and decaf::util::StlQueue< T >.