def offer(self, item, timeout=<NUM_LIT:0>):
check_not_none(item, "<STR_LIT>")<EOL>return self._encode_invoke(transactional_queue_offer_codec, item=self._to_data(item),<EOL>timeout=to_millis(timeout))<EOL>
Transactional implementation of :func:`Queue.offer(item, timeout) <hazelcast.proxy.queue.Queue.offer>`

:param item: (object), the item to be added.
:param timeout: (long), maximum time in seconds to wait for addition (optional).
:return: (bool), ``true`` if the element was added to this queue, ``false`` otherwise.