public class PlatformFutureUtils extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
PlatformFutureUtils.Writer
Writer allowing special future result handling.
|
Modifier and Type | Field and Description |
---|---|
static int |
TYP_BOOL
Future type: boolean.
|
static int |
TYP_BYTE
Future type: byte.
|
static int |
TYP_CHAR
Future type: char.
|
static int |
TYP_DOUBLE
Future type: double.
|
static int |
TYP_FLOAT
Future type: float.
|
static int |
TYP_INT
Future type: int.
|
static int |
TYP_LONG
Future type: long.
|
static int |
TYP_OBJ
Future type: object.
|
static int |
TYP_SHORT
Future type: short.
|
Constructor and Description |
---|
PlatformFutureUtils() |
public static final int TYP_BYTE
public static final int TYP_BOOL
public static final int TYP_SHORT
public static final int TYP_CHAR
public static final int TYP_INT
public static final int TYP_FLOAT
public static final int TYP_LONG
public static final int TYP_DOUBLE
public static final int TYP_OBJ
public static PlatformListenable listen(PlatformContext ctx, IgniteInternalFuture fut, long futPtr, int typ, PlatformTarget target)
ctx
- Context.fut
- Java future.futPtr
- Native future pointer.typ
- Expected return type.public static PlatformListenable listen(PlatformContext ctx, IgniteFuture fut, long futPtr, int typ, PlatformTarget target)
ctx
- Context.fut
- Java future.futPtr
- Native future pointer.typ
- Expected return type.public static PlatformListenable listen(PlatformContext ctx, IgniteInternalFuture fut, long futPtr, int typ, PlatformFutureUtils.Writer writer, PlatformTarget target)
ctx
- Context.fut
- Java future.futPtr
- Native future pointer.typ
- Expected return type.writer
- Writer.public static PlatformListenable listen(PlatformContext ctx, IgniteFuture fut, long futPtr, int typ, PlatformFutureUtils.Writer writer, PlatformTarget target)
ctx
- Context.fut
- Java future.futPtr
- Native future pointer.typ
- Expected return type.writer
- Writer.public static PlatformListenable listen(PlatformContext ctx, IgniteInternalFuture fut, long futPtr, PlatformFutureUtils.Writer writer, PlatformTarget target)
ctx
- Context.fut
- Java future.futPtr
- Native future pointer.writer
- Writer.public static PlatformListenable getListenable(IgniteInternalFuture fut)
fut
- Future.public static PlatformListenable getListenable(IgniteFuture fut)
fut
- Future.public static void listen(PlatformContext ctx, PlatformListenable listenable, long futPtr, int typ, @Nullable PlatformFutureUtils.Writer writer, PlatformTarget target)
ctx
- Context.listenable
- Listenable entry.futPtr
- Native future pointer.typ
- Expected return type.writer
- Optional writer.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017