Reads a batch of items from the Ringbuffer.
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.6.2.0
Syntax
Parameters
- startSequence
- Type: SystemInt64
the startSequence of the first item to read. - minCount
- Type: SystemInt32
the minimum number of items to read. - maxCount
- Type: SystemInt32
the maximum number of items to read.
Return Value
Type: TaskIListTa future containing the items read.
Exceptions
Exception | Condition |
---|---|
ArgumentException | if startSequence is smaller than 0 or if startSequence larger than TailSequence or if minCount smaller than 0 or if minCount larger than maxCount, or if maxCount larger than the capacity of the ringbuffer or if maxCount larger than 1000 (to prevent overload) |
Remarks
See Also