Examples of writeArray()


Examples of org.infinispan.client.hotrod.impl.transport.Transport.writeArray()

         //2) write message body
         transport.writeArray(key);
         transport.writeVInt(lifespan);
         transport.writeVInt(maxIdle);
         transport.writeLong(version);
         transport.writeArray(value);
         return returnVersionedOperationResponse(transport, messageId, REPLACE_IF_UNMODIFIED_RESPONSE, flags);
      } finally {
         releaseTransport(transport);
      }
   }
View Full Code Here

Examples of org.infinispan.client.hotrod.impl.transport.Transport.writeArray()

      try {
         // 1) write header
         long messageId = writeHeader(transport, REMOVE_IF_UNMODIFIED_REQUEST, flags);

         //2) write message body
         transport.writeArray(key);
         transport.writeLong(version);

         //process response and return
         return returnVersionedOperationResponse(transport, messageId, REMOVE_IF_UNMODIFIED_RESPONSE, flags);
View Full Code Here

Examples of org.red5.io.amf.Output.writeArray()

    //if the params are null send the NULL AMF type
    //this should fix APPSERVER-296
    if (params == null) {
      tmpOut.writeNull();
    } else {
      tmpOut.writeArray(params);
    }
    tmp.flip();

    // Store size and parameters
    result.putInt(tmp.limit());
View Full Code Here

Examples of org.red5.io.amf.Output.writeArray()

    // Serialize parameters
    ByteBuffer tmp = ByteBuffer.allocate(1024);
    tmp.setAutoExpand(true);
    Output tmpOut = new Output(tmp);
    tmpOut.writeArray(params, new Serializer());
    tmp.flip();

    // Store size and parameters
    result.putInt(tmp.limit());
    result.put(tmp);
View Full Code Here

Examples of org.voltdb.messaging.FastSerializer.writeArray()

        fs.writeString(clusterName);
        fs.writeString(databaseName);
        fs.writeString(tableName.toUpperCase());
        fs.writeBoolean(isReplicated);
        if (!isReplicated) {
            fs.writeArray(partitionIds);
            fs.writeInt(numPartitions);
        }
        final BBContainer container = fs.getBBContainer();
        container.b.position(4);
        container.b.putInt(container.b.remaining() - 4);
View Full Code Here

Examples of org.voltdb.messaging.FastSerializer.writeArray()

        fs.writeString(clusterName);
        fs.writeString(databaseName);
        fs.writeString(tableName.toUpperCase());
        fs.writeBoolean(isReplicated);
        if (!isReplicated) {
            fs.writeArray(partitionIds);
            fs.writeInt(numPartitions);
        }
        final BBContainer container = fs.getBBContainer();
        container.b().position(4);
        container.b().putInt(container.b().remaining() - 4);
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.