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