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