public class Exhibitors
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
Exhibitors.BackupConnectionStringProvider |
| Constructor | Description |
|---|---|
Exhibitors(java.util.Collection<java.lang.String> hostnames,
int restPort,
Exhibitors.BackupConnectionStringProvider backupConnectionStringProvider) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getBackupConnectionString() |
|
java.util.Collection<java.lang.String> |
getHostnames() |
|
int |
getRestPort() |
public Exhibitors(java.util.Collection<java.lang.String> hostnames,
int restPort,
Exhibitors.BackupConnectionStringProvider backupConnectionStringProvider)
hostnames - set of Exhibitor instance host namesrestPort - the REST port used to connect to ExhibitorbackupConnectionStringProvider - in case an Exhibitor instance can't be contacted, returns the fixed
connection string to use as a backupCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.