public class PlatformIgnition extends Object
| Modifier and Type | Method and Description |
|---|---|
static long |
environmentPointer(@Nullable String igniteInstanceName)
Get environment pointer of the given instance.
|
static @Nullable PlatformProcessor |
instance(@Nullable String igniteInstanceName)
Get instance by environment pointer.
|
static void |
start(@Nullable String springCfgPath,
@Nullable String igniteInstanceName,
int factoryId,
long envPtr,
long dataPtr)
Start Ignite node in platform mode.
|
static boolean |
stop(@Nullable String igniteInstanceName,
boolean cancel)
Stop single instance.
|
static void |
stopAll(boolean cancel)
Stop all instances.
|
public static void start(@Nullable
@Nullable String springCfgPath,
@Nullable
@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 @Nullable PlatformProcessor instance(@Nullable @Nullable String igniteInstanceName)
igniteInstanceName - Ignite instance name.null if it doesn't exist (never started or stopped).public static long environmentPointer(@Nullable
@Nullable String igniteInstanceName)
igniteInstanceName - Ignite instance name.0 in case grid with such name doesn't exist.public static boolean stop(@Nullable
@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.8.1 Release Date : May 21 2020