Interface IDistributedHashSet<T>
This interface contains methods and parameters for Distributed HashSet.
Inherited Members
Assembly: Alachisoft.NCache.Client.dll
Syntax
public interface IDistributedHashSet<T> : ICollection<T>, IEnumerable<T>, IEnumerable, IDistributedDataTypes, ILockable, INotifiable
Type Parameters
| Name | Description |
|---|---|
| T | The type of the elements in the HashSet. |
Methods
| Name | Description |
|---|---|
| AddRange(IEnumerable<T>) | Insert elements of the provided collection in IDistributedSet. |
| Difference(String) | Returns the difference of current Set with the specified Set. |
|
Get |
Returns a random element from the Set. |
|
Get |
Returns count distinct random elements from the Set. |
| Intersect(String) | Returns the intersection of current Set with the specified Set. |
| Remove(ICollection<T>) | Remove the specified items from the Set. |
|
Remove |
Removes and returns a random element from the Set. |
|
Store |
Take difference of current Set with the specified Set and store the result in a new destination Set. |
|
Store |
Take intersection of current Set with the specified Set and store the result in a new destination Set. |
|
Store |
Take union of current Set with the specified Set and store the result in a new destination Set. |
| Union(String) | Returns the union of the current Set with the specified Set. |