.NET Client Documentation
5.1.1
Search Results for

    Show / Hide Table of Contents

    GetSizeAsync Method

    GetSizeAsync()

    Returns number of items in the ringbuffer.

    Declaration
    Task<long> GetSizeAsync()
    Returns
    Task<Int64>

    the size.

    Remarks

    Returns number of items in the ringbuffer. If no ttl is set, the size will always be equal to capacity after the head completed the first loop around the ring. This is because no items are getting retired.

    In This Article
    Back to top Copyright © 2010-2022 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.