geode-for-redis/src/main/java/org/apache/geode/redis/internal/data/RedisSet.java
public long srem(List<byte[]> membersToRemove, Region<RedisKey, RedisData> region, RedisKey key) {
    RemoveByteArrays delta = new RemoveByteArrays();
    int membersRemoved = 0;
    for (byte[] member : membersToRemove) {
      if (membersRemove(member)) {
        delta.add(member);
        membersRemoved++;
      }
    }
    if (membersRemoved == 0) {
      return 0;
    }
    storeChanges(region, key, delta);
    return membersRemoved;
  }
/**
   * @param membersToRemove members to remove from this set
   * @param region the region this instance is stored in
   * @param key the name of the set to remove from
   * @return the number of members actually removed
   */
@param membersToRemove members to remove from this set
@param region the region this instance is stored in
@param key the name of the set to remove from
@return the number of members actually removed
@param membersToRemove members to remove from this set @param region the region this instance is stored in @param key the name of the set to remove from @return the number of members actually removed
public long srem(List<byte[]> membersToRemove, Region<RedisKey, RedisData> region, RedisKey key) {
    RemoveByteArrays delta = new RemoveByteArrays();
    int membersRemoved = 0;
    for (byte[] member : membersToRemove) {
      if (membersRemove(member)) {
        delta.add(member);
        membersRemoved++;
      }
    }
    if (membersRemoved == 0) {
      return 0;
    }
    storeChanges(region, key, delta);
    return membersRemoved;
  }
public long srem ( List < byte [ ] > membersToRemove , Region < RedisKey , RedisData > region , RedisKey key ) { RemoveByteArrays delta = new RemoveByteArrays ( ) ; int membersRemoved = 0 ; for ( byte [ ] member : membersToRemove ) { if ( membersRemove ( member ) ) { delta . add ( member ) ; membersRemoved ++ ; } } if ( membersRemoved == 0 ) { return 0 ; } storeChanges ( region , key , delta ) ; return membersRemoved ; }
@param membersToRemove members to remove from this set
 @param region the region this instance is stored in
 @param key the name of the set to remove from
 @return the number of members actually removed
@param membersToRemove members to remove from this set @param region the region this instance is stored in @param key the name of the set to remove from @return the number of members actually removed