Class RemotePluginServerFactoryBuilder

java.lang.Object
org.eclipse.keyple.distributed.RemotePluginServerFactoryBuilder

public final class RemotePluginServerFactoryBuilder extends Object
Builder of RemotePluginServerFactory for Keyple ObservablePlugin type.
Since:
2.0.0
  • Method Details

    • builder

      public static RemotePluginServerFactoryBuilder.NodeStep builder(String remotePluginName)
      Gets the first step of the builder to use in order to create a new factory instance.
      Parameters:
      remotePluginName - The identifier of the remote plugin.
      Returns:
      Next configuration step.
      Throws:
      IllegalArgumentException - If the plugin name is null or empty.
      Since:
      2.0.0
    • builder

      public static RemotePluginServerFactoryBuilder.NodeStep builder(String remotePluginName, ExecutorService executorService)
      Gets the first step of the builder to use in order to create a new factory instance.
      Parameters:
      remotePluginName - The identifier of the remote plugin.
      executorService - The custom service to be used to asynchronously notify remote reader connection events.
      Returns:
      Next configuration step.
      Throws:
      IllegalArgumentException - If the plugin name is null or empty or if the executor service is null.
      Since:
      2.1.0