Пример #1
0
 @Override
 public void readObject(BufferInput buffer, Serializer serializer) {
   super.readObject(buffer, serializer);
   commandSequence = buffer.readLong();
   eventVersion = buffer.readLong();
   eventSequence = buffer.readLong();
 }
Пример #2
0
 @Override
 public void readObject(BufferInput buffer, Serializer serializer) {
   consistency = ConsistencyLevel.values()[buffer.readByte()];
 }
Пример #3
0
 @Override
 public void readObject(BufferInput buffer, Serializer serializer) {
   super.readObject(buffer, serializer);
   mode = PersistenceMode.values()[buffer.readByte()];
   ttl = buffer.readLong();
 }
Пример #4
0
 @Override
 public void readObject(BufferInput buffer, Serializer serializer) {
   timeout = buffer.readLong();
 }