18 #ifndef _DECAF_UTIL_ABSTRACTMAP_H_
19 #define _DECAF_UTIL_ABSTRACTMAP_H_
58 template<
typename K,
typename V>
92 virtual void wait(
long long millisecs) {
96 virtual void wait(
long long millisecs,
int nanos) {
virtual void notifyAll()
Signals the waiters on this object that it can now wake up and continue.
Definition: AbstractMap.h:104
virtual bool tryLock()
Attempts to Lock the object, if the lock is already held by another thread than this method returns f...
Mutex object that offers recursive support on all platforms as well as providing the ability to use t...
Definition: Mutex.h:39
virtual bool tryLock()
Attempts to Lock the object, if the lock is already held by another thread than this method returns f...
Definition: AbstractMap.h:80
util::concurrent::Mutex mutex
Definition: AbstractMap.h:62
virtual void unlock()
Unlocks the object.
virtual ~AbstractMap()
Definition: AbstractMap.h:72
virtual void wait()
Waits on a signal from this object, which is generated by a call to Notify.
AbstractMap()
Definition: AbstractMap.h:66
virtual void wait(long long millisecs, int nanos)
Waits on a signal from this object, which is generated by a call to Notify.
Definition: AbstractMap.h:96
virtual void notifyAll()
Signals the waiters on this object that it can now wake up and continue.
virtual void unlock()
Unlocks the object.
Definition: AbstractMap.h:84
virtual void notify()
Signals a waiter on this object that it can now wake up and continue.
This class provides a skeletal implementation of the Map interface, to minimize the effort required t...
Definition: AbstractMap.h:59
virtual void lock()
Locks the object.
An object that maps keys to values.
Definition: Map.h:88
virtual void wait()
Waits on a signal from this object, which is generated by a call to Notify.
Definition: AbstractMap.h:88
virtual void notify()
Signals a waiter on this object that it can now wake up and continue.
Definition: AbstractMap.h:100
virtual void lock()
Locks the object.
Definition: AbstractMap.h:76
#define DECAF_UNUSED
Definition: Config.h:160
AbstractMap(const Map< K, V > &map DECAF_UNUSED)
Definition: AbstractMap.h:68
virtual void wait(long long millisecs)
Waits on a signal from this object, which is generated by a call to Notify.
Definition: AbstractMap.h:92
AbstractMap(const AbstractMap< K, V > &map DECAF_UNUSED)
Definition: AbstractMap.h:70