Пример #1
0
 @Override
 public void writeObject(BufferOutput buffer, Serializer serializer) {
   super.writeObject(buffer, serializer);
   buffer.writeLong(commandSequence);
   buffer.writeLong(eventVersion);
   buffer.writeLong(eventSequence);
 }
Пример #2
0
 @Override
 public void writeObject(BufferOutput buffer, Serializer serializer) {
   buffer.writeByte(consistency.ordinal());
 }
Пример #3
0
 @Override
 public void writeObject(BufferOutput buffer, Serializer serializer) {
   super.writeObject(buffer, serializer);
   buffer.writeByte(mode.ordinal()).writeLong(ttl);
 }
Пример #4
0
 @Override
 public void writeObject(BufferOutput buffer, Serializer serializer) {
   buffer.writeLong(timeout);
 }