.NET Client Documentation
5.1.1
Search Results for

    Show / Hide Table of Contents

    IHList<T> Interface

    Namespace: Hazelcast.DistributedObjects
    Assembly: Hazelcast.Net.dll

    Defines a concurrent, distributed, non-partitioned and listenable list

    public interface IHList<T> : IHCollection<T>, IDistributedObject, IAsyncDisposable, IAsyncEnumerable<T>
    Inherited Members
    IHCollection<T>.AddAsync(T)
    IHCollection<T>.AddAll<TItem>(ICollection<TItem>)
    IHCollection<T>.GetAllAsync()
    IHCollection<T>.GetSizeAsync()
    IHCollection<T>.IsEmptyAsync()
    IHCollection<T>.ContainsAllAsync<TItem>(ICollection<TItem>)
    IHCollection<T>.ContainsAsync(T)
    IHCollection<T>.RemoveAsync(T)
    IHCollection<T>.RemoveAllAsync<TItem>(ICollection<TItem>)
    IHCollection<T>.RetainAllAsync<TItem>(ICollection<TItem>)
    IHCollection<T>.ClearAsync()
    IHCollection<T>.SubscribeAsync(Action<CollectionItemEventHandlers<T>>, Boolean, Object)
    IHCollection<T>.UnsubscribeAsync(Guid)
    IDistributedObject.ServiceName
    IDistributedObject.Name
    IDistributedObject.PartitionKey
    IDistributedObject.DestroyAsync()
    IAsyncDisposable.DisposeAsync()
    IAsyncEnumerable<T>.GetAsyncEnumerator(CancellationToken)
    Type Parameters
    T
    Remarks

    The Hazelcast IHList is not a partitioned data-structure. Entire contents of an IHList is stored on a single machine (and in the backup). The IHList will not scale by adding more members to the cluster.

    Methods

    AddAllAsync<TItem>(Int32, ICollection<TItem>)

    Inserts all of the elements in the specified collection into this list at the specified position.

    AddAsync(Int32, T)

    Inserts the specified element at the specified position in this list. Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).

    GetAsync(Int32)

    Returns the element in the specified position in this list

    GetSublistAsync(Int32, Int32)

    Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.

    IndexOfAsync(T)

    Returns the zero-based index of the first occurrence of a specific item in this list.

    LastIndexOfAsync(T)

    Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.

    RemoveAsync(Int32)

    Removes the first occurrence of the specified element from this list, if it is present. If this list does not contain the element, it is unchanged.

    Set(Int32, T)

    Replaces the element at the specified position in this list with the specified element.

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