コード例 #1
0
  /**
   * @param cctx Cache context.
   * @throws IgniteCheckedException In case of error.
   */
  void prepareMarshal(GridCacheContext cctx) throws IgniteCheckedException {
    assert key != null;

    key.prepareMarshal(cctx.cacheObjectContext());

    if (newVal != null) newVal.prepareMarshal(cctx.cacheObjectContext());

    if (oldVal != null) oldVal.prepareMarshal(cctx.cacheObjectContext());
  }
コード例 #2
0
 /**
  * This method is called before the whole message is sent and is responsible for pre-marshalling
  * state.
  *
  * @param ctx Cache object context.
  * @throws IgniteCheckedException If failed.
  */
 public void prepareMarshal(CacheObjectContext ctx) throws IgniteCheckedException {
   if (val != null) val.prepareMarshal(ctx);
 }