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
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
Name | Description |
---|---|
AddAllAsync<TItem>(int, ICollection<TItem>) | Inserts all of the elements in the specified collection into this list at the specified position. |
AddAsync(int, 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(int) | Returns the element in the specified position in this list |
GetSublistAsync(int, int) | Returns a view of the portion of this list between the specified
|
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(int) | 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(int, T) | Replaces the element at the specified position in this list with the specified element. |