示例#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);
 }