incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From twilli...@apache.org
Subject git commit: test commit - will add proxy stuff later
Date Tue, 11 Sep 2012 01:54:36 GMT
Updated Branches:
  refs/heads/master af8229b4b -> 6c91a5e83


test commit - will add proxy stuff later


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

Branch: refs/heads/master
Commit: 6c91a5e832b9088b23f5b710bdfe5f6a9716d584
Parents: af8229b
Author: Tim <williamstw@gmail.com>
Authored: Mon Sep 10 21:53:49 2012 -0400
Committer: Tim <williamstw@gmail.com>
Committed: Mon Sep 10 21:53:49 2012 -0400

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


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/6c91a5e8/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 8bf43fe..c04d705 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
@@ -67,7 +67,15 @@ public class BlurClient {
 
   }
 
-  public static Iface getClient(String connectionStr) {
+ /**
+ * 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) {
     List<Connection> connections = BlurClientManager.getConnections(connectionStr);
     return getClient(connections);
   }


Mime
View raw message