You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2011/11/08 15:24:15 UTC
svn commit: r1199256 -
/incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/client/ZooKeeperInstance.java
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;