Interface ServerBuilder


  • public interface ServerBuilder

    Interface for configuring and creating a Stardog server.

    Since:
    2.0
    Version:
    2.0
    Author:
    Michael Grove
    See Also:
    ServerOptions
    • Method Detail

      • 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​(java.net.SocketAddress theAddress)
        Create the server which will bind to the specified address.
        Parameters:
        theAddress - the address the server should bind to
        Returns:
        the server