Created
November 15, 2010 09:15
-
-
Save fbrubacher/700192 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(deftype RedisSet [key] | |
PhmBase | |
(setr [this transaction value] (-> transaction (.sadd key value)))) | |
In the java part : | |
protected String getStatusCodeReply() { | |
pipelinedCommands--; | |
return (String) protocol.read(inputStream); | |
} | |
public String sadd(String key, String member) { | |
client.sadd(key, member); | |
return client.getStatusCodeReply(); | |
} | |
Backtrace: | |
java.lang.Integer cannot be cast to java.lang.String | |
[Thrown class java.lang.ClassCastException] | |
Restarts: | |
0: [QUIT] Quit to the SLIME top level | |
Backtrace: | |
0: redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:121) | |
1: redis.clients.jedis.Transaction.sadd(Transaction.java:283) | |
2: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
3: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment