Type Configurator
Allows to configure values used by the ServerEnvironment
for the given type.
Functions
Link copied to clipboard
Assigns the specified
Delivery
for the selected environment.Assigns the specified
StorageFactory
for the selected environment.Assigns
TracerFactory
for the selected environment.Assigns the specified transport factory for the selected environment.
Link copied to clipboard
Assigns a
Delivery
obtained from the passed function.Link copied to clipboard
public ServerEnvironment.TypeConfigurator useStorageFactory(ServerEnvironment.Fn<StorageFactory> fn)
Assigns a
StorageFactory
obtained from the passed function.Link copied to clipboard
Lazily uses the
TracerFactory
obtained from the passed function.Link copied to clipboard
public ServerEnvironment.TypeConfigurator useTransportFactory(ServerEnvironment.Fn<TransportFactory> fn)
Assigns a
TransportFactory
obtained from the passed function.