18 #ifndef _DECAF_UTIL_ABSTRACTMAP_H_ 19 #define _DECAF_UTIL_ABSTRACTMAP_H_ 58 template<
typename K,
typename V>
95 virtual void wait(
long long millisecs ) {
96 mutex.
wait( millisecs );
99 virtual void wait(
long long millisecs,
int nanos ) {
100 mutex.
wait( millisecs, nanos );
virtual void notifyAll()
Signals the waiters on this object that it can now wake up and continue.
Definition: AbstractMap.h:107
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:83
util::concurrent::Mutex mutex
Definition: AbstractMap.h:62
virtual void unlock()
Unlocks the object.
virtual ~AbstractMap()
Definition: AbstractMap.h:75
virtual void wait()
Waits on a signal from this object, which is generated by a call to Notify.
AbstractMap(const Map< K, V > &map)
Definition: AbstractMap.h:69
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:99
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:87
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
AbstractMap(const AbstractMap< K, V > &map)
Definition: AbstractMap.h:72
virtual void wait()
Waits on a signal from this object, which is generated by a call to Notify.
Definition: AbstractMap.h:91
virtual void notify()
Signals a waiter on this object that it can now wake up and continue.
Definition: AbstractMap.h:103
virtual void lock()
Locks the object.
Definition: AbstractMap.h:79
virtual void wait(long long millisecs)
Waits on a signal from this object, which is generated by a call to Notify.
Definition: AbstractMap.h:95
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: AprPool.h:25