Interface PlatformTarget
-
- All Known Implementing Classes:
PlatformAbstractQueryCursor,PlatformAbstractTarget,PlatformAffinity,PlatformAffinityFunctionTarget,PlatformAffinityManager,PlatformAtomicLong,PlatformAtomicReference,PlatformAtomicSequence,PlatformBinaryProcessor,PlatformCache,PlatformCacheIterator,PlatformClusterGroup,PlatformCompute,PlatformComputeTaskSession,PlatformContinuousQueryProxy,PlatformDataStreamer,PlatformEvents,PlatformFieldsQueryCursor,PlatformListenableTarget,PlatformMessaging,PlatformProcessorImpl,PlatformQueryCursor,PlatformServices,PlatformTransactions
public interface PlatformTargetInterop target abstraction.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExceptionconvertException(Exception e)Convert caught exception.longprocessInLongOutLong(int type, long val)Process IN operation.PlatformTargetprocessInObjectStreamOutObjectStream(int type, @Nullable PlatformTarget arg, BinaryRawReaderEx reader, BinaryRawWriterEx writer)Process IN-OUT operation.PlatformAsyncResultprocessInStreamAsync(int type, BinaryRawReaderEx reader)Process asynchronous operation.longprocessInStreamOutLong(int type, BinaryRawReaderEx reader)Process IN operation.longprocessInStreamOutLong(int type, BinaryRawReaderEx reader, PlatformMemory mem)Process IN operation.PlatformTargetprocessInStreamOutObject(int type, BinaryRawReaderEx reader)Process IN-OUT operation.voidprocessInStreamOutStream(int type, BinaryRawReaderEx reader, BinaryRawWriterEx writer)Process IN-OUT operation.PlatformTargetprocessOutObject(int type)Process OUT operation.voidprocessOutStream(int type, BinaryRawWriterEx writer)Process OUT operation.
-
-
-
Method Detail
-
processInLongOutLong
long processInLongOutLong(int type, long val) throws IgniteCheckedExceptionProcess IN operation.- Parameters:
type- Type.val- Value.- Returns:
- Result.
- Throws:
IgniteCheckedException- In case of exception.
-
processInStreamOutLong
long processInStreamOutLong(int type, BinaryRawReaderEx reader) throws IgniteCheckedExceptionProcess IN operation.- Parameters:
type- Type.reader- Binary reader.- Returns:
- Result.
- Throws:
IgniteCheckedException- In case of exception.
-
processInStreamOutLong
long processInStreamOutLong(int type, BinaryRawReaderEx reader, PlatformMemory mem) throws IgniteCheckedExceptionProcess IN operation.- Parameters:
type- Type.reader- Binary reader.- Returns:
- Result.
- Throws:
IgniteCheckedException- In case of exception.
-
processInStreamOutStream
void processInStreamOutStream(int type, BinaryRawReaderEx reader, BinaryRawWriterEx writer) throws IgniteCheckedExceptionProcess IN-OUT operation.- Parameters:
type- Type.reader- Binary reader.writer- Binary writer.- Throws:
IgniteCheckedException- In case of exception.
-
processInStreamOutObject
PlatformTarget processInStreamOutObject(int type, BinaryRawReaderEx reader) throws IgniteCheckedException
Process IN-OUT operation.- Parameters:
type- Type.reader- Binary reader.- Throws:
IgniteCheckedException- In case of exception.
-
processInObjectStreamOutObjectStream
PlatformTarget processInObjectStreamOutObjectStream(int type, @Nullable @Nullable PlatformTarget arg, BinaryRawReaderEx reader, BinaryRawWriterEx writer) throws IgniteCheckedException
Process IN-OUT operation.- Parameters:
type- Type.arg- Argument.reader- Binary reader.writer- Binary writer.- Throws:
IgniteCheckedException- In case of exception.
-
processOutStream
void processOutStream(int type, BinaryRawWriterEx writer) throws IgniteCheckedExceptionProcess OUT operation.- Parameters:
type- Type.writer- Binary writer.- Throws:
IgniteCheckedException- In case of exception.
-
processOutObject
PlatformTarget processOutObject(int type) throws IgniteCheckedException
Process OUT operation.- Parameters:
type- Type.- Throws:
IgniteCheckedException- In case of exception.
-
processInStreamAsync
PlatformAsyncResult processInStreamAsync(int type, BinaryRawReaderEx reader) throws IgniteCheckedException
Process asynchronous operation.- Parameters:
type- Type.reader- Binary reader.- Returns:
- Async result (should not be null).
- Throws:
IgniteCheckedException- In case of exception.
-
-