コード例 #1
0
  /** {@inheritDoc} */
  @Override
  protected void clone0(GridTcpCommunicationMessageAdapter _msg) {
    super.clone0(_msg);

    GridDhtUnlockRequest _clone = (GridDhtUnlockRequest) _msg;

    _clone.nearKeyBytes = nearKeyBytes;
    _clone.nearKeys = nearKeys;
  }
コード例 #2
0
  /** {@inheritDoc} */
  @Override
  public void finishUnmarshal(GridCacheContext<K, V> ctx, ClassLoader ldr) throws GridException {
    super.finishUnmarshal(ctx, ldr);

    if (nearKeyBytes != null) nearKeys = unmarshalCollection(nearKeyBytes, ctx, ldr);
  }