예제 #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);
 }