示例#1
0
 @Override
 public void readObject(BufferInput buffer, Serializer serializer) {
   consistency = ConsistencyLevel.values()[buffer.readByte()];
 }
示例#2
0
 @Override
 public void readObject(BufferInput buffer, Serializer serializer) {
   super.readObject(buffer, serializer);
   mode = PersistenceMode.values()[buffer.readByte()];
   ttl = buffer.readLong();
 }