Exemplo n.º 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);
  }
Exemplo n.º 2
0
 public void serialize(CacheObjectOutput writer) throws IOException {
   super.serialize(writer);
   writer.writeShort(_count);
 }
Exemplo n.º 3
0
 @Override
 public void serialize(CacheObjectOutput writer) throws IOException {
   writer.writeShort((short) _hintType.getValue());
 }