/** {@inheritDoc} */ @Override public void prepareMarshal(GridCacheContext<K, V> ctx) throws GridException { super.prepareMarshal(ctx); if (entries != null) { if (ctx.deploymentEnabled()) prepareObjects(entries, ctx); entriesBytes = ctx.marshaller().marshal(entries); } }
/** {@inheritDoc} */ @Override protected void clone0(GridTcpCommunicationMessageAdapter _msg) { super.clone0(_msg); GridCacheEvictionRequest _clone = (GridCacheEvictionRequest) _msg; _clone.futId = futId; _clone.entries = entries; _clone.entriesBytes = entriesBytes; _clone.topVer = topVer; }
/** {@inheritDoc} */ @Override public void finishUnmarshal(GridCacheContext<K, V> ctx, ClassLoader ldr) throws GridException { super.finishUnmarshal(ctx, ldr); if (entriesBytes != null) entries = ctx.marshaller().unmarshal(entriesBytes, ldr); }