Interface IPlatformTarget
Interface to interoperate with org.apache.ignite.internal.processors.platform.PlatformTarget on Java side.
Namespace: Apache.Ignite.Core.Interop
Assembly: Apache.Ignite.Core.dll
Syntax
public interface IPlatformTarget
Methods
DoOutOpAsync<T>(Int32, Action<IBinaryRawWriter>, Func<IBinaryRawReader, T>)
Performs asynchronous operation.
Declaration
Task<T> DoOutOpAsync<T>(int type, Action<IBinaryRawWriter> writeAction, Func<IBinaryRawReader, T> readAction)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Operation type code. |
Action<IBinary |
writeAction | Write action (can be null). |
Func<IBinary |
readAction | Read function (can be null). |
Returns
Type | Description |
---|---|
Task<T> | Task. |
Type Parameters
Name | Description |
---|---|
T | Result type |
DoOutOpAsync<T>(Int32, Action<IBinaryRawWriter>, Func<IBinaryRawReader, T>, CancellationToken)
Performs asynchronous operation.
Declaration
Task<T> DoOutOpAsync<T>(int type, Action<IBinaryRawWriter> writeAction, Func<IBinaryRawReader, T> readAction, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Operation type code. |
Action<IBinary |
writeAction | Write action (can be null). |
Func<IBinary |
readAction | Read function (can be null). |
Cancellation |
cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
Task<T> | Task. |
Type Parameters
Name | Description |
---|---|
T | Result type |
InLongOutLong(Int32, Int64)
Performs InLongOutLong operation.
Declaration
long InLongOutLong(int type, long val)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Operation type code. |
System. |
val | Value. |
Returns
Type | Description |
---|---|
System. |
Result. |
InObjectStreamOutObjectStream<T>(Int32, IPlatformTarget, Action<IBinaryRawWriter>, Func<IBinaryRawReader, IPlatformTarget, T>)
Performs InObjectStreamOutObjectStream operation.
Declaration
T InObjectStreamOutObjectStream<T>(int type, IPlatformTarget arg, Action<IBinaryRawWriter> writeAction, Func<IBinaryRawReader, IPlatformTarget, T> readAction)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Operation type code. |
IPlatform |
arg | Target argument. |
Action<IBinary |
writeAction | Write action. |
Func<IBinary |
readAction | Read action. |
Returns
Type | Description |
---|---|
T | Result. |
Type Parameters
Name | Description |
---|---|
T | Result type. |
InStreamOutLong(Int32, Action<IBinaryRawWriter>)
Performs InStreamOutLong operation.
Declaration
long InStreamOutLong(int type, Action<IBinaryRawWriter> writeAction)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Operation type code. |
Action<IBinary |
writeAction | Write action. |
Returns
Type | Description |
---|---|
System. |
Result. |
InStreamOutObject(Int32, Action<IBinaryRawWriter>)
Performs InStreamOutObject operation.
Declaration
IPlatformTarget InStreamOutObject(int type, Action<IBinaryRawWriter> writeAction)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Operation type code. |
Action<IBinary |
writeAction | Write action. |
Returns
Type | Description |
---|---|
IPlatform |
Result. |
InStreamOutStream<T>(Int32, Action<IBinaryRawWriter>, Func<IBinaryRawReader, T>)
Performs InStreamOutStream operation.
Declaration
T InStreamOutStream<T>(int type, Action<IBinaryRawWriter> writeAction, Func<IBinaryRawReader, T> readAction)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Operation type code. |
Action<IBinary |
writeAction | Write action. |
Func<IBinary |
readAction | Read action. |
Returns
Type | Description |
---|---|
T | Result. |
Type Parameters
Name | Description |
---|---|
T | Result type. |
OutObject(Int32)
Performs the OutObject operation.
Declaration
IPlatformTarget OutObject(int type)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Operation type code. |
Returns
Type | Description |
---|---|
IPlatform |
Result. |
OutStream<T>(Int32, Func<IBinaryRawReader, T>)
Performs OutStream operation.
Declaration
T OutStream<T>(int type, Func<IBinaryRawReader, T> readAction)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Operation type code. |
Func<IBinary |
readAction | Read action. |
Returns
Type | Description |
---|---|
T | Result. |
Type Parameters
Name | Description |
---|---|
T | Result type. |