Toggle navigation
Home
org.apache.ignite.internal.processors.cache.GridCacheReturn<V> to org.apache.ignite.internal.processors.cache.GridCacheReturn
No. of Instances - 31
No. of Commits - 1
No. of Projects - {'ignite'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Cascading Type Change (Different)
AsyncOp<GridCacheReturn<V>>
to
AsyncOp<GridCacheReturn>
SyncOp<GridCacheReturn<V>>
to
SyncOp<GridCacheReturn>
AsyncOp<GridCacheReturn<V>>
to
AsyncOp<GridCacheReturn>
SyncOp<GridCacheReturn<V>>
to
SyncOp<GridCacheReturn>
Update Anonymous class
{ @Override public IgniteInternalFuture<GridCacheReturn<V>> op( IgniteTxLocalAdapter tx){ try { if (ctx.deploymentEnabled()) ctx.deploy().registerClass(oldVal); } catch ( IgniteCheckedException e) { return new GridFinishedFuture<>(ctx.kernalContext(),e); } IgniteInternalFuture<GridCacheReturn<V>> fut=(IgniteInternalFuture)tx.putAllAsync(ctx,F.t(key,newVal),true,null,-1,ctx.equalsValArray(oldVal)); return fut; } @Override public String toString(){ return "replaceAsync [key=" + key + ", oldVal="+ oldVal+ ", newVal="+ newVal+ ']'; } }
to
{ @Override public IgniteInternalFuture<GridCacheReturn> op( IgniteTxLocalAdapter tx){ try { if (ctx.deploymentEnabled()) ctx.deploy().registerClass(oldVal); } catch ( IgniteCheckedException e) { return new GridFinishedFuture<>(ctx.kernalContext(),e); } IgniteInternalFuture<GridCacheReturn> fut=(IgniteInternalFuture)tx.putAllAsync(ctx,F.t(key,newVal),true,null,-1,ctx.equalsValArray(oldVal)); return fut; } @Override public String toString(){ return "replaceAsync [key=" + key + ", oldVal="+ oldVal+ ", newVal="+ newVal+ ']'; } }
{ @Override public GridCacheReturn<V> op( IgniteTxLocalAdapter tx) throws IgniteCheckedException { if (ctx.deploymentEnabled()) ctx.deploy().registerClass(val); return (GridCacheReturn)tx.removeAllAsync(ctx,Collections.singletonList(key),null,true,ctx.equalsValArray(val)).get(); } @Override public String toString(){ return "remove [key=" + key + ", val="+ val+ ']'; } }
to
{ @Override public GridCacheReturn op( IgniteTxLocalAdapter tx) throws IgniteCheckedException { if (ctx.deploymentEnabled()) ctx.deploy().registerClass(val); return (GridCacheReturn)tx.removeAllAsync(ctx,Collections.singletonList(key),null,true,ctx.equalsValArray(val)).get(); } @Override public String toString(){ return "remove [key=" + key + ", val="+ val+ ']'; } }
{ @Override public IgniteInternalFuture<GridCacheReturn<V>> op( IgniteTxLocalAdapter tx){ try { if (ctx.deploymentEnabled()) ctx.deploy().registerClass(val); } catch ( IgniteCheckedException e) { return new GridFinishedFuture<>(ctx.kernalContext(),e); } IgniteInternalFuture<GridCacheReturn<V>> fut=(IgniteInternalFuture)tx.removeAllAsync(ctx,Collections.singletonList(key),null,true,ctx.equalsValArray(val)); return fut; } @Override public String toString(){ return "removeAsync [key=" + key + ", val="+ val+ ']'; } }
to
{ @Override public IgniteInternalFuture<GridCacheReturn> op( IgniteTxLocalAdapter tx){ try { if (ctx.deploymentEnabled()) ctx.deploy().registerClass(val); } catch ( IgniteCheckedException e) { return new GridFinishedFuture<>(ctx.kernalContext(),e); } IgniteInternalFuture<GridCacheReturn> fut=(IgniteInternalFuture)tx.removeAllAsync(ctx,Collections.singletonList(key),null,true,ctx.equalsValArray(val)); return fut; } @Override public String toString(){ return "removeAsync [key=" + key + ", val="+ val+ ']'; } }
{ @Override public GridCacheReturn<V> op( IgniteTxLocalAdapter tx) throws IgniteCheckedException { if (ctx.deploymentEnabled()) ctx.deploy().registerClass(oldVal); return (GridCacheReturn)tx.putAllAsync(ctx,F.t(key,newVal),true,null,-1,ctx.equalsValArray(oldVal)).get(); } @Override public String toString(){ return "replace [key=" + key + ", oldVal="+ oldVal+ ", newVal="+ newVal+ ']'; } }
to
{ @Override public GridCacheReturn op( IgniteTxLocalAdapter tx) throws IgniteCheckedException { if (ctx.deploymentEnabled()) ctx.deploy().registerClass(oldVal); return (GridCacheReturn)tx.putAllAsync(ctx,F.t(key,newVal),true,null,-1,ctx.equalsValArray(oldVal)).get(); } @Override public String toString(){ return "replace [key=" + key + ", oldVal="+ oldVal+ ", newVal="+ newVal+ ']'; } }
Cascading Type Change (Similar)
GridCacheReturn<V>
to
GridCacheReturn