Go to the documentation of this file.
18 #ifndef _DECAF_UTIL_CONCURRENT_BLOCKINGQUEUE_H_
19 #define _DECAF_UTIL_CONCURRENT_BLOCKINGQUEUE_H_
29 namespace concurrent {
163 template<
typename E >
183 virtual void put(
const E& value ) = 0;
203 virtual bool offer(
const E& e,
long long timeout,
const TimeUnit& unit ) = 0;
212 virtual E
take() = 0;
227 virtual bool poll( E& result,
long long timeout,
const TimeUnit& unit ) = 0;