Skip to content
Browse files

[split] release 3.0.7 of scala-zookeeper-client - Release of deprecat…

…e_scala_zookeeper_client branch

RB_ID=88676
  • Loading branch information...
1 parent 6d17ff5 commit 39b7f9f89b6a6eaabc8f3442809443c4f59b42dd Ryan King committed Sep 26, 2012
View
1 OWNERS
@@ -0,0 +1 @@
+ryan
View
2 README
@@ -0,0 +1,2 @@
+This library is deprecated. Instead use util-zk (if you want a purely async implementation) or the
+client from twitter commons.
View
2 pom.xml
@@ -4,7 +4,7 @@
<groupId>com.twitter</groupId>
<artifactId>scala-zookeeper-client</artifactId>
<packaging>jar</packaging>
- <version>3.0.7-SNAPSHOT</version>
+ <version>3.0.7</version>
<parent>
<groupId>com.twitter</groupId>
<artifactId>scala-parent-292</artifactId>
View
1 src/main/scala/com/twitter/zookeeper/ZooKeeperClient.scala
@@ -12,6 +12,7 @@ import com.twitter.logging.Logger
import java.util.concurrent.{CountDownLatch, TimeUnit}
import java.util.concurrent.atomic.AtomicBoolean
+@deprecated("scala-zookeeper-client is deprecated in favor of util-zk", "3.0.7")
class ZooKeeperClient(servers: String, sessionTimeout: Int, basePath : String,
watcher: Option[ZooKeeperClient => Unit]) {
private val log = Logger.get
View
1 src/main/scala/com/twitter/zookeeper/ZookeeperClientConfig.scala
@@ -3,6 +3,7 @@ package com.twitter.zookeeper
import com.twitter.ostrich.admin.RuntimeEnvironment
import com.twitter.util.Config
+@deprecated("scala-zookeeper-client is deprecated in favor of util-zk", "3.0.7")
trait ZookeeperClientConfig extends Config[ZooKeeperClient] {
var hostList = required[String]
var sessionTimeout = 3000

0 comments on commit 39b7f9f

Please sign in to comment.
Something went wrong with that request. Please try again.