Class IgniteServer.Builder

java.lang.Object
org.apache.ignite.IgniteServer.Builder
Enclosing interface:
IgniteServer

public static final class IgniteServer.Builder extends Object
Builder for IgniteServer.
  • Method Details

    • serviceLoaderClassLoader

      public IgniteServer.Builder serviceLoaderClassLoader(@Nullable @Nullable ClassLoader serviceLoaderClassLoader)
      Specifies class loader to use when loading components via ServiceLoader.
      Parameters:
      serviceLoaderClassLoader - The class loader to be used to load provider-configuration files and provider classes, or null if the system class loader (or, failing that, the bootstrap class loader) is to be used
      Returns:
      This instance for chaining.
    • asyncContinuationExecutor

      public IgniteServer.Builder asyncContinuationExecutor(Executor 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

      public IgniteServer build()
      Builds an IgniteServer. It is not started; IgniteServer.start() or IgniteServer.startAsync() can be used to start it.
      Returns:
      Server instance.