Hazelcast memcache protocol implementation is very limited actually. So
basically this operation is not implemented yet. Only the basic get/set is
implemented.
konstantin.pica
...@gmail.com> wrote:
> It seems it is not an issue, right? ) or maybe my english is not good
> enough to explain the problem
> any suggestions? workarounds? pls
> On Friday, November 2, 2012 3:45:42 PM UTC+2, Konstantin Shushlyamin wrote:
>> 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.S**ocketTextReader 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);*
>> }
>> }
>> ..............
>> }
>> --
> You received this message because you are subscribed to the Google Groups
> "Hazelcast" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hazelcast/-/lU3GTfz60h8J.
> To post to this group, send email to hazelcast@googlegroups.com.
> To unsubscribe from this group, send email to
> hazelcast+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hazelcast?hl=en.