net.spy.memcached.MemcachedClient.getBulk(Collection<String>) sends data in the following format:
get key1 key2 ......... keyN
Hazelcast(2.4) uses com.hazelcast.nio.ascii.SocketTextReader to read the command and fails if the command length > 500byte:
public class SocketTextReader {
............
ByteBuffer commandLine = ByteBuffer.allocate(500);
..........
private void doRead(ByteBuffer bb) {
while (!commandLineRead && bb.hasRemaining()) {
byte b = bb.get();
char c = (char) b;
if (c == '\n') {
commandLineRead = true;
} else if (c != '\r') {
commandLine.put(b);
}
}
..............
}
--To view this discussion on the web visit https://groups.google.com/d/msg/hazelcast/-/lU3GTfz60h8J.
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To post to this group, send email to haze...@googlegroups.com.
To unsubscribe from this group, send email to hazelcast+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hazelcast?hl=en.