Skip to content

Commit

Permalink
add summary
Browse files Browse the repository at this point in the history
  • Loading branch information
tisilent committed Mar 30, 2024
1 parent c5c27c5 commit 823dce4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libs/server/Storage/Session/ObjectStore/SetOps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,14 @@ public GarnetStatus SetPop<TObjectContext>(byte[] key, ArgSlice input, ref Garne
where TObjectContext : ITsavoriteContext<byte[], IGarnetObject, SpanByte, GarnetObjectStoreOutput, long>
=> RMWObjectStoreOperationWithOutput(key, input, ref objectContext, ref outputFooter);

/// <summary>
/// Returns the members of the set resulting from the difference between the first set at key and all the successive sets at keys.
/// </summary>
/// <typeparam name="TObjectContext"></typeparam>
/// <param name="keys"></param>
/// <param name="members"></param>
/// <param name="objectContext"></param>
/// <returns></returns>
public GarnetStatus SetDiff<TObjectContext>(ArgSlice[] keys,out HashSet<byte[]> members, ref TObjectContext objectContext)
where TObjectContext : ITsavoriteContext<byte[], IGarnetObject, SpanByte, GarnetObjectStoreOutput, long>
{
Expand Down

0 comments on commit 823dce4

Please sign in to comment.