From 72650d4cc41c64136d064967d7fec3726d850fee Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Thu, 14 Oct 2010 11:52:28 +0000
Subject: [PATCH] Multiple enhancements and bug fixes to the SDK (update from OpenDS by matthew_swift):

---
 sdk/src/org/opends/sdk/LoadBalancingAlgorithm.java |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/sdk/src/org/opends/sdk/LoadBalancingAlgorithm.java b/sdk/src/org/opends/sdk/LoadBalancingAlgorithm.java
index 6e9ffb0..fc81c3d 100644
--- a/sdk/src/org/opends/sdk/LoadBalancingAlgorithm.java
+++ b/sdk/src/org/opends/sdk/LoadBalancingAlgorithm.java
@@ -32,16 +32,18 @@
 /**
  * A load balancing algorithm distributes connection requests across one or more
  * underlying connection factories in an implementation defined manner.
+ *
+ * @see Connections#newLoadBalancer(LoadBalancingAlgorithm) newLoadBalancer
  */
-interface LoadBalancingAlgorithm
+public interface LoadBalancingAlgorithm
 {
   /**
-   * Returns the next connection factory which should be used in order to obtain
-   * a connection.
+   * Returns a connection factory which should be used in order to satisfy the
+   * next connection request.
    *
-   * @return The next connection factory.
+   * @return The connection factory.
    * @throws ErrorResultException
    *           If no connection factories are available for use.
    */
-  ConnectionFactory getNextConnectionFactory() throws ErrorResultException;
+  ConnectionFactory getConnectionFactory() throws ErrorResultException;
 }

--
Gitblit v1.10.0