incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [1/7] git commit: Formatted.
Date Tue, 11 Sep 2012 02:59:57 GMT
Updated Branches:
  refs/heads/master 6c91a5e83 -> f61233ce7


Formatted.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/f61233ce
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/f61233ce
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/f61233ce

Branch: refs/heads/master
Commit: f61233ce7b18897b44567ca94fec9f7d471d6707
Parents: ce82131
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Mon Sep 10 22:59:44 2012 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Mon Sep 10 22:59:44 2012 -0400

----------------------------------------------------------------------
 .../java/org/apache/blur/thrift/BlurClient.java    |   22 ++++++++-------
 1 files changed, 12 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/f61233ce/src/blur-thrift/src/main/java/org/apache/blur/thrift/BlurClient.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/org/apache/blur/thrift/BlurClient.java b/src/blur-thrift/src/main/java/org/apache/blur/thrift/BlurClient.java
index c04d705..d421cdf 100644
--- a/src/blur-thrift/src/main/java/org/apache/blur/thrift/BlurClient.java
+++ b/src/blur-thrift/src/main/java/org/apache/blur/thrift/BlurClient.java
@@ -29,7 +29,6 @@ import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.Blur.Iface;
 import org.apache.thrift.TException;
 
-
 public class BlurClient {
 
   static class BlurClientInvocationHandler implements InvocationHandler {
@@ -67,15 +66,18 @@ public class BlurClient {
 
   }
 
- /**
- * Returns a client interface to Blur based on the connectionStr.
- * <pre>
- *  Blur.Iface client = Blur.getClient("controller1:40010,controller2:40010");
- * </pre>
- * @param connectionStr - a comma-delimited list of host:port of Shard Controllers.
- * @return
- */
-public static Iface getClient(String connectionStr) {
+  /**
+   * Returns a client interface to Blur based on the connectionStr.
+   * 
+   * <pre>
+   * Blur.Iface client = Blur.getClient(&quot;controller1:40010,controller2:40010&quot;);
+   * </pre>
+   * 
+   * @param connectionStr
+   *          - a comma-delimited list of host:port of Shard Controllers.
+   * @return
+   */
+  public static Iface getClient(String connectionStr) {
     List<Connection> connections = BlurClientManager.getConnections(connectionStr);
     return getClient(connections);
   }


Mime
View raw message