Package org.apache.ignite.compute
Annotation Type ComputeTaskSpis
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface ComputeTaskSpis
This annotation allows task to specify what SPIs it wants to use. Starting withIgnite 2.1
you can start multiple instances ofLoadBalancingSpi
,FailoverSpi
, andCheckpointSpi
. If you do that, you need to tell a task which SPI to use (by default it will use the fist SPI in the list).
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
checkpointSpi
String
failoverSpi
String
loadBalancingSpi
-
-
-
Element Detail
-
loadBalancingSpi
String loadBalancingSpi
- Returns:
- Optional load balancing SPI name. By default, SPI name is equal
to the name of the SPI class. You can change SPI name by explicitly
supplying
IgniteSpi.getName()
parameter in grid configuration.
- Default:
- ""
-
-
-
failoverSpi
String failoverSpi
- Returns:
- Optional failover SPI name. By default, SPI name is equal
to the name of the SPI class. You can change SPI name by explicitly
supplying
IgniteSpi.getName()
parameter in grid configuration.
- Default:
- ""
-
-
-
checkpointSpi
String checkpointSpi
- Returns:
- Optional checkpoint SPI name. By default, SPI name is equal
to the name of the SPI class. You can change SPI name by explicitly
supplying
IgniteSpi.getName()
parameter in grid configuration.
- Default:
- ""
-
-