| IQueueTOffer Method (T) |
Inserts the specified element into this queue if it is possible to do
so immediately without violating capacity restrictions, returning
true upon success and false if no space is currently
available.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.2
Syntax Function Offer (
e As T
) As Boolean
abstract Offer :
e : 'T -> bool
Parameters
- e
- Type: T
the element to add
Return Value
Type:
Booleantrue if the element was added to this queue, else
falseRemarks
Inserts the specified element into this queue if it is possible to do
so immediately without violating capacity restrictions, returning
true upon success and false if no space is currently
available.
See Also