incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1199256 - /incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/client/ZooKeeperInstance.java
Date Tue, 08 Nov 2011 14:24:15 GMT
Author: ecn
Date: Tue Nov  8 14:24:14 2011
New Revision: 1199256

URL: http://svn.apache.org/viewvc?rev=1199256&view=rev
Log:
ACCUMULO-126 expose constructors that allow for changing the zookeeper session timeout value

Modified:
    incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/client/ZooKeeperInstance.java

Modified: incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/client/ZooKeeperInstance.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/client/ZooKeeperInstance.java?rev=1199256&r1=1199255&r2=1199256&view=diff
==============================================================================
--- incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/client/ZooKeeperInstance.java
(original)
+++ incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/client/ZooKeeperInstance.java
Tue Nov  8 14:24:14 2011
@@ -91,7 +91,7 @@ public class ZooKeeperInstance implement
    *          zoo keeper session time out in milliseconds.
    */
   
-  private ZooKeeperInstance(String instanceName, String zooKeepers, int sessionTimeout) {
+  public ZooKeeperInstance(String instanceName, String zooKeepers, int sessionTimeout) {
     ArgumentChecker.notNull(instanceName, zooKeepers);
     this.instanceName = instanceName;
     this.zooKeepers = zooKeepers;
@@ -122,7 +122,7 @@ public class ZooKeeperInstance implement
    *          zoo keeper session time out in milliseconds.
    */
   
-  private ZooKeeperInstance(UUID instanceId, String zooKeepers, int sessionTimeout) {
+  public ZooKeeperInstance(UUID instanceId, String zooKeepers, int sessionTimeout) {
     ArgumentChecker.notNull(instanceId, zooKeepers);
     this.instanceId = instanceId.toString();
     this.zooKeepers = zooKeepers;



Mime
View raw message