Class PlatformAbstractBootstrap
- java.lang.Object
-
- org.apache.ignite.internal.processors.platform.PlatformAbstractBootstrap
-
- All Implemented Interfaces:
PlatformBootstrap
- Direct Known Subclasses:
PlatformCppBootstrap,PlatformDotNetBootstrap
public abstract class PlatformAbstractBootstrap extends Object implements PlatformBootstrap
Base interop bootstrap implementation.
-
-
Constructor Summary
Constructors Constructor Description PlatformAbstractBootstrap()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract IgniteClosure<IgniteConfiguration,IgniteConfiguration>closure(long envPtr)Get configuration transformer closure.voidinit(long dataPtr)Init the bootstrap.protected voidprocessInput(PlatformInputStream input)Processes any additional input data.PlatformProcessorstart(IgniteConfiguration cfg, @Nullable GridSpringResourceContext springCtx, long envPtr)Start Ignite node.
-
-
-
Method Detail
-
start
public PlatformProcessor start(IgniteConfiguration cfg, @Nullable @Nullable GridSpringResourceContext springCtx, long envPtr)
Start Ignite node.- Specified by:
startin interfacePlatformBootstrap- Parameters:
cfg- Configuration.springCtx- Optional Spring resource context.envPtr- Environment pointer.- Returns:
- Platform processor.
-
init
public void init(long dataPtr)
Init the bootstrap.- Specified by:
initin interfacePlatformBootstrap- Parameters:
dataPtr- Optional pointer to additional data required for startup.
-
closure
protected abstract IgniteClosure<IgniteConfiguration,IgniteConfiguration> closure(long envPtr)
Get configuration transformer closure.- Parameters:
envPtr- Environment pointer.- Returns:
- Closure.
-
processInput
protected void processInput(PlatformInputStream input)
Processes any additional input data.- Parameters:
input- Input stream.
-
-