Interface IDistributedHashSet<T>
This interface contains methods and parameters for distributed HashSet.
Inherited Members
Namespace:
Assembly: Alachisoft.NCache.Client.dll
Syntax
public interface IDistributedHashSet<T> : ICollection<T>, 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() | // Return 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>) | |
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 current set with the specified set. |