Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add

  • Loading branch information...
commit a9ce866400152b3aefa4647f48b3143ef496b112 1 parent a488d69
Miguel de Icaza authored
Showing with 4 additions and 5 deletions.
  1. +3 −4 redis-sharp.cs
  2. +1 −1  test.cs
View
7 redis-sharp.cs
@@ -122,6 +122,8 @@ public void SetNX (string key, byte [] value)
ExpectSuccess ();
}
+#if false
+ // Not well documented how bulk operations work
public void Set (IDictionary<string,byte []> dict)
{
if (dict == null)
@@ -140,7 +142,7 @@ public void Set (IDictionary<string,byte []> dict)
SendDataCommand (ms.ToArray (), "MSET\r\n");
ExpectSuccess ();
}
-
+#endif
public byte [] Get (string key)
{
if (key == null)
@@ -532,8 +534,6 @@ public void Shutdown ()
return Encoding.UTF8.GetString (SendExpectData (null, "KEYS {0}\r\n", pattern)).Split (' ');
}
-#if false
- // Not well documented how bulk operations work
public byte [][] GetKeys (params string [] keys)
{
if (keys == null)
@@ -564,7 +564,6 @@ public void Shutdown ()
}
throw new ResponseException ("Unknown reply on multi-request: " + c + s);
}
-#endif
public void Dispose ()
{
View
2  test.cs
@@ -61,6 +61,6 @@ static void Main ()
dict ["hello"] = Encoding.UTF8.GetBytes ("world");
dict ["goodbye"] = Encoding.UTF8.GetBytes ("my dear");
- r.Set (dict);
+ //r.Set (dict);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.