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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Server
bind(java.net.SocketAddress theAddress)
Create the server which will bind to the specified address.<V> ServerBuilder
set(Option<V> theOption, V theValue)
Set the specified server configuration optionServerBuilder
setAll(Options theOptions)
Set all the configuration options on the builder.
-
-
-
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 optiontheValue
- 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
-
-