public abstract class AbstractRemoteTask<R> extends Object implements com.tangosol.net.Invocable, com.tangosol.io.pof.PortableObject
| Constructor and Description |
|---|
AbstractRemoteTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addParameter(String name,
Serializable value) |
abstract R |
execute() |
protected <P> P |
getParameter(String name) |
Object |
getResult() |
void |
init(com.tangosol.net.InvocationService invocationService) |
void |
readExternal(com.tangosol.io.pof.PofReader pofReader) |
void |
run() |
void |
writeExternal(com.tangosol.io.pof.PofWriter pofWriter) |
public abstract R execute()
public Object getResult()
getResult in interface com.tangosol.net.Invocablepublic void init(com.tangosol.net.InvocationService invocationService)
init in interface com.tangosol.net.Invocablepublic void run()
protected void addParameter(String name, Serializable value)
protected <P> P getParameter(String name)
public void readExternal(com.tangosol.io.pof.PofReader pofReader)
throws IOException
readExternal in interface com.tangosol.io.pof.PortableObjectIOExceptionpublic void writeExternal(com.tangosol.io.pof.PofWriter pofWriter)
throws IOException
writeExternal in interface com.tangosol.io.pof.PortableObjectIOExceptionCopyright © 2013. All Rights Reserved.