Skip navigation links
B C D E F G H I J L M N O P R S T U V W 

B

build() - Method in class nats.io.ClusterNode.Builder
 
build() - Method in class nats.io.NatsServerRunner.Builder
 
builder() - Static method in class nats.io.ClusterNode
 
Builder() - Constructor for class nats.io.ClusterNode.Builder
 
builder() - Static method in class nats.io.NatsServerRunner
Get a new Builder
Builder() - Constructor for class nats.io.NatsServerRunner.Builder
 
buildOptions() - Method in class nats.io.NatsServerRunner.Builder
 

C

clearPreferredServerPath() - Static method in class nats.io.NatsServerRunner
 
clearServerPath() - Static method in class nats.io.NatsRunnerUtils
close() - Method in class nats.io.NatsServerRunner
For AutoCloseable, calls shutdown(true).
ClusterInsert - Class in nats.io
 
ClusterInsert(ClusterNode, String[]) - Constructor for class nats.io.ClusterInsert
 
clusterName(String) - Method in class nats.io.ClusterNode.Builder
 
clusterName - Variable in class nats.io.ClusterNode
 
ClusterNode - Class in nats.io
 
ClusterNode(String, String, int, int) - Constructor for class nats.io.ClusterNode
 
ClusterNode(String, String, int, int, Integer) - Constructor for class nats.io.ClusterNode
 
ClusterNode(String, String, int, int, Path) - Constructor for class nats.io.ClusterNode
 
ClusterNode(String, String, String, int, int, Integer, Path) - Constructor for class nats.io.ClusterNode
 
ClusterNode.Builder - Class in nats.io
 
CONF_FILE_EXT - Static variable in class nats.io.NatsRunnerUtils
 
CONF_FILE_PREFIX - Static variable in class nats.io.NatsRunnerUtils
 
CONFIG_FILE_OPTION_NAME - Static variable in class nats.io.NatsRunnerUtils
 
CONFIG_PORT_KEY - Static variable in class nats.io.NatsRunnerUtils
 
configFilePath(String) - Method in class nats.io.NatsServerRunner.Builder
 
configFilePath(Path) - Method in class nats.io.NatsServerRunner.Builder
 
configFilePath() - Method in interface nats.io.NatsServerRunnerOptions
 
configFilePath() - Method in class nats.io.NatsServerRunnerOptionsImpl
 
configInserts - Variable in class nats.io.ClusterInsert
 
configInserts(List<String>) - Method in class nats.io.NatsServerRunner.Builder
 
configInserts(String[]) - Method in class nats.io.NatsServerRunner.Builder
 
configInserts() - Method in interface nats.io.NatsServerRunnerOptions
 
configInserts() - Method in class nats.io.NatsServerRunnerOptionsImpl
 
connectCheckTries(Integer) - Method in class nats.io.NatsServerRunner.Builder
 
connectCheckWait(Long) - Method in class nats.io.NatsServerRunner.Builder
 
ConsoleOutput - Class in nats.io
 
ConsoleOutput() - Constructor for class nats.io.ConsoleOutput
 
createClusterInserts() - Static method in class nats.io.NatsRunnerUtils
 
createClusterInserts(Path) - Static method in class nats.io.NatsRunnerUtils
 
createClusterInserts(int) - Static method in class nats.io.NatsRunnerUtils
 
createClusterInserts(int, Path) - Static method in class nats.io.NatsRunnerUtils
 
createClusterInserts(int, String, String) - Static method in class nats.io.NatsRunnerUtils
 
createClusterInserts(int, String, String, Path) - Static method in class nats.io.NatsRunnerUtils
 
createClusterInserts(int, String, String, boolean) - Static method in class nats.io.NatsRunnerUtils
 
createClusterInserts(int, String, String, boolean, Path) - Static method in class nats.io.NatsRunnerUtils
 
createClusterInserts(List<ClusterNode>) - Static method in class nats.io.NatsRunnerUtils
 
createNodes(int, String, String, boolean, Path) - Static method in class nats.io.NatsRunnerUtils
 
createNodes(int, String, String, Path, String, int, int, Integer) - Static method in class nats.io.NatsRunnerUtils
 
customArgs(List<String>) - Method in class nats.io.NatsServerRunner.Builder
 
customArgs(String[]) - Method in class nats.io.NatsServerRunner.Builder
 
customArgs() - Method in interface nats.io.NatsServerRunnerOptions
 
customArgs() - Method in class nats.io.NatsServerRunnerOptionsImpl
 

D

debug(boolean) - Method in class nats.io.NatsServerRunner.Builder
 
DebugLevel - Enum in nats.io
 
debugLevel(DebugLevel) - Method in class nats.io.NatsServerRunner.Builder
 
debugLevel() - Method in interface nats.io.NatsServerRunnerOptions
 
debugLevel() - Method in class nats.io.NatsServerRunnerOptionsImpl
 
DEFAULT_CLUSTER_COUNT - Static variable in class nats.io.NatsRunnerUtils
 
DEFAULT_CLUSTER_NAME - Static variable in class nats.io.NatsRunnerUtils
 
DEFAULT_HOST - Static variable in class nats.io.NatsRunnerUtils
 
DEFAULT_LISTEN_START - Static variable in class nats.io.NatsRunnerUtils
 
DEFAULT_MONITOR_START - Static variable in class nats.io.NatsRunnerUtils
 
DEFAULT_NATS_SERVER - Static variable in class nats.io.NatsRunnerUtils
 
DEFAULT_PORT_START - Static variable in class nats.io.NatsRunnerUtils
 
DEFAULT_PROCESS_CHECK_TRIES - Static variable in class nats.io.NatsServerRunner
 
DEFAULT_PROCESS_CHECK_WAIT - Static variable in class nats.io.NatsServerRunner
 
DEFAULT_RUN_CHECK_TRIES - Static variable in class nats.io.NatsServerRunner
 
DEFAULT_RUN_CHECK_WAIT - Static variable in class nats.io.NatsServerRunner
 
DEFAULT_SERVER_NAME_PREFIX - Static variable in class nats.io.NatsRunnerUtils
 
defaultHost(String) - Static method in class nats.io.NatsRunnerUtils
 
defaultListenStart(int) - Static method in class nats.io.NatsRunnerUtils
 
defaultMonitorStart(int) - Static method in class nats.io.NatsRunnerUtils
 
defaultPortStart(int) - Static method in class nats.io.NatsRunnerUtils
 

E

error(Supplier<String>) - Method in class nats.io.ConsoleOutput
 
error(String) - Method in class nats.io.ConsoleOutput
 
error(Supplier<String>) - Method in class nats.io.LoggingOutput
 
error(String) - Method in class nats.io.LoggingOutput
 
error(Supplier<String>) - Method in interface nats.io.Output
 
error(String) - Method in interface nats.io.Output
 
ERROR_NOTE_PART_1 - Static variable in class nats.io.NatsServerRunner
 
ERROR_NOTE_PART_2 - Static variable in class nats.io.NatsServerRunner
 
executablePath(String) - Method in class nats.io.NatsServerRunner.Builder
 
executablePath(Path) - Method in class nats.io.NatsServerRunner.Builder
 
executablePath() - Method in interface nats.io.NatsServerRunnerOptions
 
executablePath() - Method in class nats.io.NatsServerRunnerOptionsImpl
 

F

format(Level, String) - Method in class nats.io.ConsoleOutput
 
fullErrorReportOnStartup(boolean) - Method in class nats.io.NatsServerRunner.Builder
 

G

getCmdLine() - Method in class nats.io.NatsServerRunner
Get the command line used to start the server
getCmdOption() - Method in enum nats.io.DebugLevel
 
getConfigFile() - Method in class nats.io.NatsServerRunner
Get the absolute path of the config file
getConfigPort() - Method in class nats.io.NatsServerRunner
 
getDefaultOutputLevel() - Static method in class nats.io.NatsServerRunner
 
getDefaultOutputSupplier() - Static method in class nats.io.NatsServerRunner
 
getExecutablePath() - Method in class nats.io.NatsServerRunner
The resolved server executable path being used
getLocalhostUri(String, int) - Static method in class nats.io.NatsRunnerUtils
Build a schema://localhost:port uri
getLogger() - Method in class nats.io.ConsoleOutput
 
getLogger() - Method in class nats.io.LoggingOutput
 
getLogger() - Method in interface nats.io.Output
 
getNatsLocalhostUri(int) - Static method in class nats.io.NatsRunnerUtils
Build a nats://localhost:port uri
getNatsPort() - Method in class nats.io.NatsServerRunner
 
getNatsServerVersionString() - Static method in class nats.io.NatsRunnerUtils
Get the version string from the nats server i.e.
getNatsServerVersionString(String) - Static method in class nats.io.NatsRunnerUtils
Get the version string from the nats server i.e.
getNatsUri(String, int) - Static method in class nats.io.NatsRunnerUtils
Build a nats://host:port uri
getNonNatsPort() - Method in class nats.io.NatsServerRunner
 
getPort() - Method in class nats.io.NatsServerRunner
Get the port number.
getPort(String) - Method in class nats.io.NatsServerRunner
 
getPreferredServerPath() - Static method in class nats.io.NatsServerRunner
 
getResolvedServerPath() - Static method in class nats.io.NatsRunnerUtils
Resolves the server executable path in this order: Checking the "nats_server_path" environment variable Checking the value set via NatsServerRunner.setPreferredServerPath(java.lang.String) method "nats-server"
getUri(String, String, int) - Static method in class nats.io.NatsRunnerUtils
Build a schema://host:port uri
getURI() - Method in class nats.io.NatsServerRunner
Get the uri in the form nats://localhost:port
getURIForPort(int) - Static method in class nats.io.NatsRunnerUtils
getUserPort() - Method in class nats.io.NatsServerRunner
 

H

host(String) - Method in class nats.io.ClusterNode.Builder
 
host - Variable in class nats.io.ClusterNode
 

I

info(Supplier<String>) - Method in class nats.io.ConsoleOutput
 
info(String) - Method in class nats.io.ConsoleOutput
 
info(Supplier<String>) - Method in class nats.io.LoggingOutput
 
info(String) - Method in class nats.io.LoggingOutput
 
info(Supplier<String>) - Method in interface nats.io.Output
 
info(String) - Method in interface nats.io.Output
 
isLogger() - Method in class nats.io.ConsoleOutput
 
isLogger() - Method in class nats.io.LoggingOutput
 
isLogger() - Method in interface nats.io.Output
 

J

jetstream() - Method in class nats.io.NatsServerRunner.Builder
 
jetstream(boolean) - Method in class nats.io.NatsServerRunner.Builder
 
jetStream() - Method in interface nats.io.NatsServerRunnerOptions
 
jetStream() - Method in class nats.io.NatsServerRunnerOptionsImpl
 
JETSTREAM_OPTION - Static variable in class nats.io.NatsRunnerUtils
 
jsStoreDir(Path) - Method in class nats.io.ClusterNode.Builder
 
jsStoreDir - Variable in class nats.io.ClusterNode
 

L

listen(int) - Method in class nats.io.ClusterNode.Builder
 
listen - Variable in class nats.io.ClusterNode
 
LOCALHOST - Static variable in class nats.io.NatsRunnerUtils
 
logger() - Method in interface nats.io.NatsServerRunnerOptions
 
logger() - Method in class nats.io.NatsServerRunnerOptionsImpl
 
LoggingOutput - Class in nats.io
 
LoggingOutput(Logger) - Constructor for class nats.io.LoggingOutput
 
logLevel() - Method in interface nats.io.NatsServerRunnerOptions
 
logLevel() - Method in class nats.io.NatsServerRunnerOptionsImpl
 

M

monitor(Integer) - Method in class nats.io.ClusterNode.Builder
 
monitor - Variable in class nats.io.ClusterNode
 

N

NATS - Static variable in class nats.io.NatsRunnerUtils
 
nats.io - package nats.io
 
NATS_PORT_KEY - Static variable in class nats.io.NatsRunnerUtils
 
NATS_SERVER_PATH_ENV - Static variable in class nats.io.NatsRunnerUtils
 
NatsRunnerUtils - Class in nats.io
 
NatsServerRunner - Class in nats.io
Server Runner
NatsServerRunner() - Constructor for class nats.io.NatsServerRunner
Construct and start the Nats Server runner with all defaults: use an automatically allocated port no debug flag jetstream not enabled no custom config file no config inserts no custom args
NatsServerRunner(boolean) - Constructor for class nats.io.NatsServerRunner
Construct and start the Nats Server runner with defaults: use an automatically allocated port jetstream not enabled no custom config file no config inserts no custom args and this option:
NatsServerRunner(boolean, boolean) - Constructor for class nats.io.NatsServerRunner
Construct and start the Nats Server runner with defaults: Consider using NatsServerRunner.Builder use an automatically allocated port no custom config file no config inserts no custom args and these options:
NatsServerRunner(int, boolean) - Constructor for class nats.io.NatsServerRunner
Construct and start the Nats Server runner with defaults: jetstream not enabled no custom config file no config inserts no custom args and these options:
NatsServerRunner(int, boolean, boolean) - Constructor for class nats.io.NatsServerRunner
Construct and start the Nats Server runner with defaults: no custom config file no config inserts no custom args and these options:
NatsServerRunner(String, boolean) - Constructor for class nats.io.NatsServerRunner
Construct and start the Nats Server runner with defaults: Consider using NatsServerRunner.Builder use an automatically allocated port jetstream not enabled no config inserts no custom args and these options:
NatsServerRunner(String, boolean, boolean) - Constructor for class nats.io.NatsServerRunner
Construct and start the Nats Server runner with defaults: Consider using NatsServerRunner.Builder use an automatically allocated port jetstream not enabled no custom config file and these options:
NatsServerRunner(String, String[], int, boolean) - Constructor for class nats.io.NatsServerRunner
Construct and start the Nats Server runner with defaults: Consider using NatsServerRunner.Builder jetstream not enabled no custom args and these options:
NatsServerRunner(String, int, boolean) - Constructor for class nats.io.NatsServerRunner
Construct and start the Nats Server runner with defaults: Consider using NatsServerRunner.Builder jetstream not enabled no config inserts no custom args and these options:
NatsServerRunner(String[]) - Constructor for class nats.io.NatsServerRunner
Construct and start the Nats Server runner with defaults: Consider using NatsServerRunner.Builder use an automatically allocated port no debug flag jetstream not enabled no custom config file no config inserts and these options:
NatsServerRunner(String[], boolean) - Constructor for class nats.io.NatsServerRunner
Construct and start the Nats Server runner with defaults: Consider using NatsServerRunner.Builder use an automatically allocated port jetstream not enabled no custom config file no config inserts and these options:
NatsServerRunner(String[], boolean, boolean) - Constructor for class nats.io.NatsServerRunner
Construct and start the Nats Server runner with defaults: Consider using NatsServerRunner.Builder use an automatically allocated port no custom config file no config inserts and these options:
NatsServerRunner(String[], int, boolean) - Constructor for class nats.io.NatsServerRunner
Construct and start the Nats Server runner with defaults: Consider using NatsServerRunner.Builder jetstream not enabled no custom config file no config inserts and these options:
NatsServerRunner(int, boolean, boolean, String, String[], String[]) - Constructor for class nats.io.NatsServerRunner
Construct and start the Nats Server runner with options Consider using NatsServerRunner.Builder
NatsServerRunner(NatsServerRunnerOptions) - Constructor for class nats.io.NatsServerRunner
 
NatsServerRunner(NatsServerRunner.Builder) - Constructor for class nats.io.NatsServerRunner
 
NatsServerRunner.Builder - Class in nats.io
 
NatsServerRunnerOptions - Interface in nats.io
 
NatsServerRunnerOptionsImpl - Class in nats.io
 
NatsServerRunnerOptionsImpl(NatsServerRunner.Builder) - Constructor for class nats.io.NatsServerRunnerOptionsImpl
 
nextPort() - Static method in class nats.io.NatsRunnerUtils
Get a port number automatically allocated by the system, typically from an ephemeral port range.
node - Variable in class nats.io.ClusterInsert
 
NON_NATS_PORT_KEY - Static variable in class nats.io.NatsRunnerUtils
 

O

output(Output) - Method in class nats.io.NatsServerRunner.Builder
 
Output - Interface in nats.io
 
outputLevel(Level) - Method in class nats.io.NatsServerRunner.Builder
 
outputLogger(Logger) - Method in class nats.io.NatsServerRunner.Builder
 

P

port(int) - Method in class nats.io.ClusterNode.Builder
 
port - Variable in class nats.io.ClusterNode
 
port(Integer) - Method in class nats.io.NatsServerRunner.Builder
 
port(String, Integer) - Method in class nats.io.NatsServerRunner.Builder
 
port() - Method in interface nats.io.NatsServerRunnerOptions
 
port() - Method in class nats.io.NatsServerRunnerOptionsImpl
 
PORT_MAPPED_REGEX - Static variable in class nats.io.NatsRunnerUtils
 
PORT_PROPERTY - Static variable in class nats.io.NatsRunnerUtils
 
PORT_REGEX - Static variable in class nats.io.NatsRunnerUtils
 
ports(Map<String, Integer>) - Method in class nats.io.NatsServerRunner.Builder
 
processCheckTries(Integer) - Method in class nats.io.NatsServerRunner.Builder
 
processCheckWait(Long) - Method in class nats.io.NatsServerRunner.Builder
 

R

runnerOptions(NatsServerRunnerOptions) - Method in class nats.io.NatsServerRunner.Builder
 

S

serverName(String) - Method in class nats.io.ClusterNode.Builder
 
serverName - Variable in class nats.io.ClusterNode
 
setDefaultOutputLevel(Level) - Static method in class nats.io.NatsServerRunner
 
setDefaultOutputSupplier(Supplier<Output>) - Static method in class nats.io.NatsServerRunner
 
setLevel(Level) - Method in class nats.io.ConsoleOutput
 
setLevel(Level) - Method in class nats.io.LoggingOutput
 
setLevel(Level) - Method in interface nats.io.Output
 
setPreferredServerPath(String) - Static method in class nats.io.NatsServerRunner
 
setServerPath(String) - Static method in class nats.io.NatsRunnerUtils
shouldShow(Level) - Method in class nats.io.ConsoleOutput
 
shutdown(boolean) - Method in class nats.io.NatsServerRunner
Shut the server down
shutdown() - Method in class nats.io.NatsServerRunner
Shut the server down, waiting (blocking)

T

toString() - Method in class nats.io.ClusterInsert
 

U

USER_PORT_KEY - Static variable in class nats.io.NatsRunnerUtils
 

V

valueOf(String) - Static method in enum nats.io.DebugLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum nats.io.DebugLevel
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION_OPTION - Static variable in class nats.io.NatsRunnerUtils
 

W

warning(Supplier<String>) - Method in class nats.io.ConsoleOutput
 
warning(String) - Method in class nats.io.ConsoleOutput
 
warning(Supplier<String>) - Method in class nats.io.LoggingOutput
 
warning(String) - Method in class nats.io.LoggingOutput
 
warning(Supplier<String>) - Method in interface nats.io.Output
 
warning(String) - Method in interface nats.io.Output
 
B C D E F G H I J L M N O P R S T U V W 
Skip navigation links