示例#1
0
  public static void WriteEvcHint(CacheObjectOutput writer, EvictionHint evcHint)
      throws IOException {
    if (evcHint == null) {
      writer.writeShort((short) EvictionHintType.NULL.getValue());
      return;
    }

    writer.writeShort((short) evcHint._hintType.getValue());
    ((ICompactSerializable) evcHint).serialize(writer);
  }
示例#2
0
 public void serialize(CacheObjectOutput writer) throws IOException {
   super.serialize(writer);
   writer.writeShort(_count);
 }
示例#3
0
 @Override
 public void serialize(CacheObjectOutput writer) throws IOException {
   writer.writeShort((short) _hintType.getValue());
 }