Sometimes incr or decr command returns FALSE in memcache. So xmemcached should expect such behavior, but not cast to Long everytime like this:
private long sendIncrOrDecrCommand() ... return (Long) command.getResult(); ...
throwing
java.lang.Boolean cannot be cast to java.lang.Long
Sometimes incr or decr command returns FALSE in memcache. So xmemcached should expect such behavior, but not cast to Long everytime like this:
private long sendIncrOrDecrCommand() ... return (Long) command.getResult(); ...
throwingjava.lang.Boolean cannot be cast to java.lang.Long