Interface ServerBuilder


public interface ServerBuilder

Interface for configuring and creating a Stardog server.

Since:
2.0
Version:
2.0
Author:
Michael Grove
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    bind(SocketAddress theAddress)
    Create the server which will bind to the specified address.
    set(Option<V> theOption, V theValue)
    Set the specified server configuration option
    setAll(Options theOptions)
    Set all the configuration options on the builder.
  • Method Details

    • setAll

      ServerBuilder setAll(Options theOptions)
      Set all the configuration options on the builder.
      Parameters:
      theOptions - the options to set
      Returns:
      this builder
    • set

      <V> ServerBuilder set(Option<V> theOption, V theValue)
      Set the specified server configuration option
      Parameters:
      theOption - the option
      theValue - the option value
      Returns:
      this builder
    • bind

      Server bind(SocketAddress theAddress)
      Create the server which will bind to the specified address.
      Parameters:
      theAddress - the address the server should bind to
      Returns:
      the server