public class PlatformCompute extends PlatformAbstractTarget
| Modifier and Type | Class and Description |
|---|---|
protected class |
PlatformCompute.ComputeConvertingFuture
Wraps ComputeTaskFuture as IgniteInternalFuture.
|
ERROR, FALSE, log, platformCtx, TRUE| Constructor and Description |
|---|
PlatformCompute(PlatformContext platformCtx,
ClusterGroup grp,
String platformAttr)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected IgniteCompute |
computeForTask(Collection<UUID> nodeIds)
Get compute object for the given node IDs.
|
protected Object |
executeJavaTask(BinaryRawReaderEx reader,
boolean async)
Execute task taking arguments from the given reader.
|
long |
processInLongOutLong(int type,
long val)
Process IN operation.
|
PlatformTarget |
processInStreamOutObject(int type,
BinaryRawReaderEx reader)
Process IN-OUT operation.
|
void |
processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
protected Collection<UUID> |
readNodeIds(BinaryRawReaderEx reader)
Read node IDs.
|
convertException, platformContext, processInObjectStreamOutObjectStream, processInStreamAsync, processInStreamOutLong, processInStreamOutLong, processOutObject, processOutStream, readAndListenFuture, readAndListenFuture, readAndListenFuture, throwUnsupported, wrapListenablepublic PlatformCompute(PlatformContext platformCtx, ClusterGroup grp, String platformAttr)
platformCtx - Context.grp - Cluster group.public PlatformTarget processInStreamOutObject(int type, BinaryRawReaderEx reader) throws IgniteCheckedException
processInStreamOutObject in interface PlatformTargetprocessInStreamOutObject in class PlatformAbstractTargettype - Type.reader - Binary reader.IgniteCheckedException - In case of exception.public long processInLongOutLong(int type,
long val)
throws IgniteCheckedException
processInLongOutLong in interface PlatformTargetprocessInLongOutLong in class PlatformAbstractTargettype - Type.val - Value.IgniteCheckedException - In case of exception.public void processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
throws IgniteCheckedException
processInStreamOutStream in interface PlatformTargetprocessInStreamOutStream in class PlatformAbstractTargettype - Type.reader - Binary reader.writer - Binary writer.IgniteCheckedException - In case of exception.protected Object executeJavaTask(BinaryRawReaderEx reader, boolean async) throws IgniteCheckedException
reader - Reader.async - Execute asynchronously flag.IgniteCheckedException - On error.protected Collection<UUID> readNodeIds(BinaryRawReaderEx reader)
reader - Reader.protected IgniteCompute computeForTask(Collection<UUID> nodeIds)
nodeIds - Node IDs.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020