| Package | Description |
|---|---|
| berlin.yuna.natsserver.logic |
| Modifier and Type | Method and Description |
|---|---|
NatsStreaming |
NatsStreaming.config(Map<NatsStreamingConfig,String> config)
Configures the nats server
|
NatsStreaming |
NatsStreaming.config(NatsStreamingConfig key,
String value)
Configures the nats server
|
NatsStreaming |
NatsStreaming.config(String... kv)
Configures the nats server
|
NatsStreaming |
NatsStreaming.start()
Starts the server in
ProcessBuilder with the given config config(String...) |
NatsStreaming |
NatsStreaming.start(long timeoutMs)
Starts the server in
ProcessBuilder with the given config config(String...) |
NatsStreaming |
NatsStreaming.stop()
Stops the
ProcessBuilder and kills the NatsStreaming
Only a log error will occur if the NatsStreaming were never started |
NatsStreaming |
NatsStreaming.stop(long timeoutMs)
Stops the
ProcessBuilder and kills the NatsStreaming
Only a log error will occur if the NatsStreaming were never started |
NatsStreaming |
NatsStreaming.tryStart()
Starts the server in
ProcessBuilder with the given parameterConfig config(String...)
Throws all exceptions as RuntimeException |
NatsStreaming |
NatsStreaming.tryStart(long timeoutMs)
Starts the server in
ProcessBuilder with the given config config(String...)
Throws all exceptions as RuntimeException |
Copyright © 2022. All rights reserved.