void addBody(ByteBuffer buf) { synchronized(this) { inMemory += buf.limit(); } if (tail != null) { tail = tail.createNext(this, buf); } else { head = tail = new Chunk(new MemoryData(buf, part.msg.config)); } }
void addBody(ByteBuffer buf) { synchronized(this) { inMemory += buf.limit(); } if (tail != null) { tail = tail.createNext(this, buf); } else { head = tail = new Chunk(new MemoryData(buf, part.msg.config)); } }
void addBody(ByteBuffer buf) { synchronized(this) { inMemory += buf.limit(); } if (tail != null) { tail = tail.createNext(this, buf); } else { head = tail = new Chunk(new MemoryData(buf, part.msg.config)); } }
void addBody(ByteBuffer buf) { synchronized(this) { inMemory += buf.limit(); } if (tail != null) { tail = tail.createNext(this, buf); } else { head = tail = new Chunk(new MemoryData(buf, part.msg.config)); } }