public class CacheInvokeResult<T> extends Object implements javax.cache.processor.EntryProcessorResult<T>, Externalizable
EntryProcessorResult.| Constructor and Description |
|---|
CacheInvokeResult()
Empty constructor required by
Externalizable. |
CacheInvokeResult(Exception err) |
CacheInvokeResult(T res) |
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
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 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-RC3 Release Date : March 24 2015