public class InteropIgnition extends Object
| Modifier and Type | Method and Description |
|---|---|
static InteropProcessor |
instance(String gridName)
Get instance by environment pointer.
|
static InteropProcessor |
start(String springCfgPath,
String gridName,
int factoryId,
long envPtr,
long dataPtr)
Start Ignite node in interop mode.
|
static boolean |
stop(String gridName,
boolean cancel)
Stop single instance.
|
static void |
stopAll(boolean cancel)
Stop all instances.
|
public static InteropProcessor start(@Nullable String springCfgPath, @Nullable String gridName, int factoryId, long envPtr, long dataPtr)
springCfgPath - Spring configuration path.gridName - Grid name.factoryId - Factory ID.envPtr - Environment pointer.dataPtr - Optional pointer to additional data required for startup.@Nullable public static InteropProcessor instance(@Nullable String gridName)
gridName - Grid name.null if it doesn't exists (never started or stopped).public static boolean stop(@Nullable String gridName, boolean cancel)
gridName - Grid name,cancel - Cancel flag.True if instance was found and stopped.public static void stopAll(boolean cancel)
cancel - Cancel flag.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.2.0-incubating Release Date : June 16 2015