public class PlatformIgnition extends Object
| Modifier and Type | Method and Description |
|---|---|
static long |
environmentPointer(String igniteInstanceName)
Get environment pointer of the given instance.
|
static PlatformProcessor |
instance(String igniteInstanceName)
Get instance by environment pointer.
|
static void |
start(String springCfgPath,
String igniteInstanceName,
int factoryId,
long envPtr,
long dataPtr)
Start Ignite node in platform mode.
|
static boolean |
stop(String igniteInstanceName,
boolean cancel)
Stop single instance.
|
static void |
stopAll(boolean cancel)
Stop all instances.
|
public static void start(@Nullable
String springCfgPath,
@Nullable
String igniteInstanceName,
int factoryId,
long envPtr,
long dataPtr)
springCfgPath - Spring configuration path.igniteInstanceName - Ignite instance name.factoryId - Factory ID.envPtr - Environment pointer.dataPtr - Optional pointer to additional data required for startup.@Nullable public static PlatformProcessor instance(@Nullable String igniteInstanceName)
igniteInstanceName - Ignite instance name.null if it doesn't exist (never started or stopped).public static long environmentPointer(@Nullable
String igniteInstanceName)
igniteInstanceName - Ignite instance name.0 in case grid with such name doesn't exist.public static boolean stop(@Nullable
String igniteInstanceName,
boolean cancel)
igniteInstanceName - Ignite instance name,cancel - Cancel flag.True if instance was found and stopped.public static void stopAll(boolean cancel)
cancel - Cancel flag.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019