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 <[email protected]>
Authored: Mon Sep 10 21:53:49 2012 -0400
Committer: Tim <[email protected]>
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);
   }

Reply via email to