Package org.apache.ignite
Class IgniteServer.Builder
java.lang.Object
org.apache.ignite.IgniteServer.Builder
- Enclosing interface:
- IgniteServer
Builder for IgniteServer.
-
Method Summary
Modifier and TypeMethodDescriptionasyncContinuationExecutor
(Executor asyncContinuationExecutor) Specifies executor in which futures obtained via API will be completed..build()
Builds an IgniteServer.serviceLoaderClassLoader
(@Nullable ClassLoader serviceLoaderClassLoader) Specifies class loader to use when loading components viaServiceLoader
.
-
Method Details
-
serviceLoaderClassLoader
public IgniteServer.Builder serviceLoaderClassLoader(@Nullable @Nullable ClassLoader serviceLoaderClassLoader) Specifies class loader to use when loading components viaServiceLoader
.- Parameters:
serviceLoaderClassLoader
- The class loader to be used to load provider-configuration files and provider classes, ornull
if the system class loader (or, failing that, the bootstrap class loader) is to be used- Returns:
- This instance for chaining.
-
asyncContinuationExecutor
Specifies executor in which futures obtained via API will be completed..- Parameters:
asyncContinuationExecutor
- Executor in which futures obtained via API will be completed.- Returns:
- This instance for chaining.
-
build
Builds an IgniteServer. It is not started;IgniteServer.start()
orIgniteServer.startAsync()
can be used to start it.- Returns:
- Server instance.
-