![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IQueueTRemainingCapacity Method |
Returns the number of additional elements that this queue can ideally
(in the absence of memory or resource constraints) accept without
blocking, or
Int64.MaxValue if there is no intrinsic
limit.
Note that you cannot always tell if an attempt to insert
an element will succeed by inspecting remainingCapacity
because it may be the case that another thread is about to
insert or remove an element.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
SyntaxFunction RemainingCapacity As Integer
abstract RemainingCapacity : unit -> int
Return Value
Type:
Int32the remaining capacity
See Also