use of org.apache.ignite.internal.processors.cache.CacheOperationContext in project gridgain by gridgain.
the class GridCacheQueueAdapter method withKeepBinary.
/**
* {@inheritDoc}
*/
@Override
public <V1> IgniteQueue<V1> withKeepBinary() {
CacheOperationContext opCtx = cctx.operationContextPerCall();
if (opCtx != null && opCtx.isKeepBinary())
return (GridCacheQueueAdapter<V1>) this;
opCtx = opCtx == null ? new CacheOperationContext(false, null, true, null, false, null, false, DFLT_ALLOW_ATOMIC_OPS_IN_TX) : opCtx.keepBinary();
cctx.operationContextPerCall(opCtx);
return (GridCacheQueueAdapter<V1>) this;
}
Aggregations