public class NatsServer
extends berlin.yuna.natsserver.logic.Nats
implements org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
NatsServer(long timeoutMs)
Create
NatsServer with the simplest start able configuration |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Simply stops the
NatsServer |
close, config, config, config, config, start, start, stop, stop, tryStart, tryStartpublic static final String BEAN_NAME
public NatsServer(long timeoutMs)
NatsServer with the simplest start able configurationtimeoutMs - tear down timeoutpublic void destroy()
NatsServerdestroy in interface org.springframework.beans.factory.DisposableBeanNats.stop()Copyright © 2022. All rights reserved.