options.has(host)? options.valueOf(host) : defaultHost,
options.has(port)? options.valueOf(port) : defaultPort,
store,
options.has(secure) && options.valueOf(secure));
if (!options.has(interval)) {
failoverClient.run();
} else {
ScheduledSyncService syncService = new ScheduledSyncService(failoverClient, options.valueOf(interval));
syncService.startAsync();
syncService.awaitTerminated();
}