18 #include "hazelcast/client/proxy/TransactionalQueueImpl.h" 
   38     boost::future<bool> 
offer(
const E& e)
 
   40         return offer(e, std::chrono::milliseconds::zero());
 
   50     boost::future<bool> 
offer(
const E& e, std::chrono::milliseconds timeout)
 
   52         return proxy::TransactionalQueueImpl::offer(to_data(e), timeout);
 
   61     boost::future<boost::optional<E>> 
poll()
 
   63         return poll<E>(std::chrono::milliseconds::zero());
 
   73     boost::future<boost::optional<E>> 
poll(std::chrono::milliseconds timeout)
 
   75         return to_object<E>(proxy::TransactionalQueueImpl::poll_data(timeout));
 
   80                         txn::TransactionProxy& transaction_proxy)
 
   81       : proxy::TransactionalQueueImpl(name, transaction_proxy)
 
Provides a context to do transactional operations; so beginning/committing transactions,...
 
Transactional implementation of iqueue.
 
boost::future< bool > offer(const E &e)
Transactional implementation of iqueue::offer(const E &e)
 
boost::future< bool > offer(const E &e, std::chrono::milliseconds timeout)
Transactional implementation of iqueue::offer(const E &e, std::chrono::milliseconds timeout)
 
boost::future< boost::optional< E > > poll()
Transactional implementation of iqueue::poll()
 
boost::future< boost::optional< E > > poll(std::chrono::milliseconds timeout)
Transactional implementation of iqueue::poll(std::chrono::milliseconds timeout)