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. |
GetRandom() | Returns a random element from the Set. |
GetRandom(Int32) | 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. |
RemoveRandom() | Removes and returns a random element from the Set. |
StoreDifference(String, String) | Take difference of current Set with the specified Set and store the result in a new destination Set. |
StoreIntersection(String, String) | Take intersection of current Set with the specified Set and store the result in a new destination Set. |
StoreUnion(String, String) | 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. |