IHCollection<T> Interface
Namespace: Hazelcast.DistributedObjects
Assembly: Hazelcast.Net.dll
Defines a concurrent, distributed, and listenable collection.
public interface IHCollection<T> : IDistributedObject, IAsyncDisposable, IAsyncEnumerable<T>
Inherited Members
Type Parameters
T | The type of the items in the collection |
Remarks
This is not a partitioned data-structure. Entire contents is stored on a single machine (and in the backup). It will not scale by adding more members to the cluster.
Methods
Name | Description |
---|---|
Add |
Adds all. |
Add |
Adds an item to the collection. |
Clear |
Clears the collection. |
Contains |
Determines whether this collection contains all of the elements in the specified collection. |
Contains |
Determines whether the collection contains an item. |
Get |
Gets the collection items. |
Get |
Gets the number of items in the collection. |
Is |
Determines whether this instance is empty. |
Remove |
Removes all of the elements in the specified collection from this collection. |
Remove |
Removes an item from the collection. |
Retain |
Retains only the elements in this collection that are contained in the specified collection. |
Subscribe |
Subscribes to events. |
Unsubscribe |
Unsubscribe from events. |