| Package | Description |
|---|---|
| com.bigchaindb.builders | |
| com.bigchaindb.model |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
BigchainDbConfigBuilder.ConfigBuilder.connect(Connection connection) |
connect to the given node
|
void |
BigchainDbConfigBuilder.ConfigBuilder.processConnectionFailure(Connection nodeToConnect) |
handle connection failure and update meta values for that connection
|
void |
BigchainDbConfigBuilder.ConfigBuilder.processConnectionSuccess(Connection connectedNode) |
handle successful connection and reset meta values for that connection
|
| Modifier and Type | Method | Description |
|---|---|---|
static BigchainDbConfigBuilder.ITokens |
BigchainDbConfigBuilder.addConnections(List<Connection> connections) |
adds connection details to global configuration
|
| Constructor | Description |
|---|---|
ConfigBuilder(List<Connection> connections) |
Instantiates a new builder with list of connections.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Connection |
BigChainDBGlobals.getCurrentNode() |
| Modifier and Type | Method | Description |
|---|---|---|
static List<Connection> |
BigChainDBGlobals.getConnections() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
BigChainDBGlobals.setCurrentNode(Connection currentNode) |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
BigChainDBGlobals.setConnections(List<Connection> connections) |
Copyright © 2018. All rights reserved.