.setCommand(ServerLauncher.Command.START).setCriticalHeapPercentage(95.5f) .setCriticalOffHeapPercentage(95.5f).setDebug(Boolean.TRUE) .setDisableDefaultServer(Boolean.TRUE).setDeletePidFileOnStop(Boolean.TRUE) .setEvictionHeapPercentage(85.0f).setEvictionOffHeapPercentage(85.0f).setForce(Boolean.TRUE) .setHostNameForClients("localhost").setMaxConnections(800).setMaxMessageCount(500)
setDeletePidFileOnStop(options.has("delete-pid-file-on-stop")); setDisableDefaultServer(options.has("disable-default-server")); setForce(options.has("force"));