|
16 | 16 | * See the License for the specific language governing permissions and
|
17 | 17 | * limitations under the License.
|
18 | 18 | */
|
19 |
| -package org.neo4j.driver.internal.cluster; |
| 19 | +package org.neo4j.driver.internal.cluster.loadbalancing; |
20 | 20 |
|
21 | 21 | import java.util.Set;
|
22 | 22 |
|
23 | 23 | import org.neo4j.driver.internal.RoutingErrorHandler;
|
| 24 | +import org.neo4j.driver.internal.cluster.AddressSet; |
| 25 | +import org.neo4j.driver.internal.cluster.ClusterComposition; |
| 26 | +import org.neo4j.driver.internal.cluster.ClusterCompositionProvider; |
| 27 | +import org.neo4j.driver.internal.cluster.ClusterRoutingTable; |
| 28 | +import org.neo4j.driver.internal.cluster.DnsResolver; |
| 29 | +import org.neo4j.driver.internal.cluster.Rediscovery; |
| 30 | +import org.neo4j.driver.internal.cluster.RoutingPooledConnection; |
| 31 | +import org.neo4j.driver.internal.cluster.RoutingProcedureClusterCompositionProvider; |
| 32 | +import org.neo4j.driver.internal.cluster.RoutingSettings; |
| 33 | +import org.neo4j.driver.internal.cluster.RoutingTable; |
24 | 34 | import org.neo4j.driver.internal.net.BoltServerAddress;
|
25 | 35 | import org.neo4j.driver.internal.spi.ConnectionPool;
|
26 | 36 | import org.neo4j.driver.internal.spi.ConnectionProvider;
|
@@ -55,7 +65,8 @@ private LoadBalancer( BoltServerAddress initialRouter, RoutingSettings settings,
|
55 | 65 | this( connections, routingTable, createRediscovery( initialRouter, settings, clock, log ), log );
|
56 | 66 | }
|
57 | 67 |
|
58 |
| - LoadBalancer( ConnectionPool connections, RoutingTable routingTable, Rediscovery rediscovery, Logger log ) |
| 68 | + // Used only in testing |
| 69 | + public LoadBalancer( ConnectionPool connections, RoutingTable routingTable, Rediscovery rediscovery, Logger log ) |
59 | 70 | {
|
60 | 71 | this.connections = connections;
|
61 | 72 | this.routingTable = routingTable;
|
|
0 commit comments