public class CacheInvokeResult<T> extends Object implements javax.cache.processor.EntryProcessorResult<T>, Externalizable, OptimizedMarshallable
EntryProcessorResult.CLS_ID_FIELD_NAME| Constructor and Description |
|---|
CacheInvokeResult()
Empty constructor required by
Externalizable. |
CacheInvokeResult(Exception err) |
CacheInvokeResult(T res) |
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
Object |
ggClassId()
Implementation of this method should simply return value of
GG_CLASS_ID field. |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public CacheInvokeResult()
Externalizable.public CacheInvokeResult(T res)
res - Computed result.public CacheInvokeResult(Exception err)
err - Exception thrown by EntryProcessor.process(MutableEntry, Object...).public Object ggClassId()
GG_CLASS_ID field.ggClassId in interface OptimizedMarshallablepublic T get() throws javax.cache.processor.EntryProcessorException
get in interface javax.cache.processor.EntryProcessorResult<T>javax.cache.processor.EntryProcessorExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015