public final class GridCacheTransformComputeClosure<V,R> extends Object implements GridClosure<V,V>, Externalizable
| Constructor and Description |
|---|
GridCacheTransformComputeClosure()
Required by
Externalizable. |
GridCacheTransformComputeClosure(GridClosure<V,GridBiTuple<V,R>> transformer) |
| Modifier and Type | Method and Description |
|---|---|
V |
apply(V v)
Closure body.
|
void |
readExternal(ObjectInput in) |
R |
returnValue() |
void |
writeExternal(ObjectOutput out) |
public GridCacheTransformComputeClosure()
Externalizable.public GridCacheTransformComputeClosure(GridClosure<V,GridBiTuple<V,R>> transformer)
transformer - Transformer closure.public R returnValue()
GridCacheProjection.transformAndCompute(Object, GridClosure)public V apply(V v)
apply in interface GridClosure<V,V>v - Closure parameter.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2014. All rights reserved.