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