@Override
  public void read(PortableReader reader) throws IOException {
    threadId = reader.readLong("tid");
    ttl = reader.readLong("ttl");
    timeout = reader.readLong("timeout");

    ObjectDataInput in = reader.getRawDataInput();
    key = in.readData();
  }
 public void read(PortableReader reader) throws IOException {
   name = reader.readUTF("n");
   threadId = reader.readLong("threadId");
   final ObjectDataInput in = reader.getRawDataInput();
   key = new Data();
   key.readData(in);
 }
 @Override
 public void read(PortableReader reader) throws IOException {
   super.read(reader);
   ttlMillis = reader.readLong("ttlMillis");
   ObjectDataInput in = reader.getRawDataInput();
   key = in.readData();
   value = in.readData();
 }
 @Override
 public void readPortable(PortableReader in) throws IOException {
   key = in.readUTF("key");
   stringVal = in.readUTF("stringVal");
   doubleVal = in.readDouble("doubleVal");
   longVal = in.readLong("longVal");
   intVal = in.readInt("intVal");
 }
Ejemplo n.º 5
0
 public void readPortable(PortableReader reader) throws IOException {
   b = reader.readByte("b");
   bool = reader.readBoolean("bool");
   c = reader.readChar("c");
   s = reader.readShort("s");
   i = reader.readInt("i");
   l = reader.readLong("l");
   f = reader.readFloat("f");
   d = reader.readDouble("d");
   str = reader.readUTF("str");
 }
Ejemplo n.º 6
0
 public void readPortable(PortableReader reader) throws IOException {
   name = reader.readUTF("n");
   timeoutMillis = reader.readLong("t");
 }