Uses of Class
berlin.yuna.natsserver.logic.Nats
-
Packages that use Nats Package Description berlin.yuna.natsserver.logic -
-
Uses of Nats in berlin.yuna.natsserver.logic
Methods in berlin.yuna.natsserver.logic that return Nats Modifier and Type Method Description NatsNats. config(NatsConfig key, String value)Sets a single config valueNatsNats. config(String... config)Passes the original parameters to the server on startupNatsNats. config(Map<NatsConfig,String> config)Passes the original parameters to the server on startupNatsNats. port(int port)Sets the port out of the configurationNatsNats. source(String natsServerUrl)Url to find nats server sourceNatsNats. start()Starts the server inProcessBuilderwith the given parameterConfigconfig(String...)NatsNats. start(long timeoutMs)Starts the server inProcessBuilderwith the given parameterConfigconfig(String...)NatsNats. stop()Stops theProcessBuilderand kills theNatsOnly a log error will occur if theNatswere never startedNatsNats. stop(long timeoutMs)Stops theProcessBuilderand kills theNatsOnly a log error will occur if theNatswere never startedNatsNats. tryStart()Starts the server inProcessBuilderwith the given parameterConfigconfig(String...)Throws all exceptions asRuntimeExceptionNatsNats. tryStart(long timeoutMs)Starts the server inProcessBuilderwith the given parameterConfigconfig(String...)Throws all exceptions asRuntimeException
-