Uses of Class
berlin.yuna.natsserver.logic.Nats
Packages that use Nats
-
Uses of Nats in berlin.yuna.natsserver.logic
Methods in berlin.yuna.natsserver.logic that return NatsModifier and TypeMethodDescriptionNats.config(NatsConfig key, String value) Configures the nats serverConfigures the nats serverNats.config(Map<NatsConfig, String> config) Configures the nats serverNats.start()Starts the server inProcessBuilderwith the given configconfig(String...)Nats.start(long timeoutMs) Starts the server inProcessBuilderwith the given configconfig(String...)Nats.stop()Stops theProcessBuilderand kills theNatsOnly a log error will occur if theNatswere never startedNats.stop(long timeoutMs) Stops theProcessBuilderand kills theNatsOnly a log error will occur if theNatswere never startedNats.tryStart()Starts the server inProcessBuilderwith the given parameterConfigconfig(String...)Throws all exceptions asRuntimeExceptionNats.tryStart(long timeoutMs) Starts the server inProcessBuilderwith the given configconfig(String...)Throws all exceptions asRuntimeException