Package com.hazelcast.nio

Examples of com.hazelcast.nio.ObjectDataOutput.writeData()


        } else {
            writer.writeBoolean("pre", true);
            writer.writeUTF("p", predicate);
            final ObjectDataOutput out = writer.getRawDataOutput();
            if (hasKey) {
                out.writeData(key);
            }
        }

    }
View Full Code Here


    public void write(PortableWriter writer) throws IOException {
        writer.writeUTF("n", name);
        writer.writeLong("t", threadId);
        final ObjectDataOutput out = writer.getRawDataOutput();
        out.writeData(key);
    }

    public void read(PortableReader reader) throws IOException {
        name = reader.readUTF("n");
        threadId = reader.readLong("t");
View Full Code Here

    @Override
    public void write(PortableWriter writer) throws IOException {
        writer.writeUTF("n", name);
        ObjectDataOutput out = writer.getRawDataOutput();
        out.writeData(message);
    }

    @Override
    public void read(PortableReader reader) throws IOException {
        name = reader.readUTF("n");
View Full Code Here

    public void write(PortableWriter writer) throws IOException {
        writer.writeUTF("n", name);
        writer.writeBoolean("s", submitToKey);
        final ObjectDataOutput out = writer.getRawDataOutput();
        out.writeData(key);
        out.writeObject(processor);
    }

    public void read(PortableReader reader) throws IOException {
        name = reader.readUTF("n");
View Full Code Here

        final int size = keys.size();
        writer.writeInt("s", size);
        if (size > 0) {
            ObjectDataOutput output = writer.getRawDataOutput();
            for (Data key : keys) {
                output.writeData(key);
            }
        }
    }

    @Override
View Full Code Here

    @Override
    public void write(PortableWriter writer) throws IOException {
        super.write(writer);
        final ObjectDataOutput out = writer.getRawDataOutput();
        out.writeData(data);
    }

    @Override
    public void read(PortableReader reader) throws IOException {
        super.read(reader);
View Full Code Here

    public void write(PortableWriter writer) throws IOException {
        writer.writeInt("i", index);
        writer.writeLong("t", threadId);
        super.write(writer);
        final ObjectDataOutput out = writer.getRawDataOutput();
        out.writeData(value);
    }

    public void read(PortableReader reader) throws IOException {
        index = reader.readInt("i");
        threadId = reader.readLong("t");
View Full Code Here

    public void write(PortableWriter writer) throws IOException {
        writer.writeLong("t", threadId);
        super.write(writer);
        final ObjectDataOutput out = writer.getRawDataOutput();
        out.writeData(value);
    }

    public void read(PortableReader reader) throws IOException {
        threadId = reader.readLong("t");
        super.read(reader);
View Full Code Here

    @Override
    public void write(PortableWriter writer) throws IOException {
        writer.writeLong("threadId", threadId);
        super.write(writer);
        ObjectDataOutput out = writer.getRawDataOutput();
        out.writeData(value);
    }

    @Override
    public void read(PortableReader reader) throws IOException {
        threadId = reader.readLong("threadId");
View Full Code Here

    @Override
    public void write(PortableWriter writer) throws IOException {
        super.write(writer);
        final ObjectDataOutput out = writer.getRawDataOutput();
        out.writeData(data);
    }

    @Override
    public void read(PortableReader reader) throws IOException {
        super.read(reader);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.