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