public class PlatformEvents extends PlatformAbstractTarget
ERROR, FALSE, log, platformCtx, TRUE| Constructor and Description |
|---|
PlatformEvents(PlatformContext platformCtx,
IgniteEvents events)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture |
currentFuture()
Gets future for the current operation.
|
PlatformFutureUtils.Writer |
futureWriter(int opId)
Gets a custom future writer.
|
long |
processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
void |
processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
PlatformTarget |
processOutObject(int type)
Process OUT operation.
|
void |
processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
convertException, platformContext, processInObjectStreamOutObjectStream, processInStreamOutLong, processInStreamOutObject, readAndListenFuture, readAndListenFuture, readAndListenFuture, readAndListenFuture, readAndListenFuture, wrapListenablepublic PlatformEvents(PlatformContext platformCtx, IgniteEvents events)
platformCtx - Context.events - Ignite events.public long processInStreamOutLong(int type,
BinaryRawReaderEx reader)
throws IgniteCheckedException
processInStreamOutLong in interface PlatformTargetprocessInStreamOutLong in class PlatformAbstractTargettype - Type.reader - Binary reader.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.public void processOutStream(int type,
BinaryRawWriterEx writer)
throws IgniteCheckedException
processOutStream in interface PlatformTargetprocessOutStream in class PlatformAbstractTargettype - Type.writer - Binary writer.IgniteCheckedException - In case of exception.public PlatformTarget processOutObject(int type) throws IgniteCheckedException
processOutObject in interface PlatformTargetprocessOutObject in class PlatformAbstractTargettype - Type.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 IgniteInternalFuture currentFuture() throws IgniteCheckedException
currentFuture in interface PlatformAsyncTargetcurrentFuture in class PlatformAbstractTargetIgniteCheckedException - If failed.@Nullable public PlatformFutureUtils.Writer futureWriter(int opId)
futureWriter in interface PlatformAsyncTargetfutureWriter in class PlatformAbstractTargetopId - Operation id.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.9.0 Release Date : March 2 2017