Permalink
Browse files

upgrade metrics to 2.0.0-RC0

  • Loading branch information...
moonpolysoft committed Feb 4, 2012
1 parent b72051a commit 6fc97f357e3ad313b126f99dd4bce4383abfc757
View
@@ -18,7 +18,7 @@ import java.util.Random
import java.util.concurrent.CountDownLatch
import com.boundary.ordasity.{Cluster, ClusterConfig, SmartListener}
import com.codahale.logula.Logging
-import com.yammer.metrics.Meter
+import com.yammer.metrics.scala.Meter
import com.twitter.zookeeper.ZooKeeperClient
import java.util.concurrent.{ScheduledThreadPoolExecutor, TimeUnit, ScheduledFuture}
import java.util.{HashMap, TimerTask}
View
@@ -41,7 +41,7 @@ Ordasity is designed to spread persistent or long-lived workloads across several
Let's get started with an example. Here's how to build a clustered service in 25 lines of code with Ordasity:
- import com.yammer.metrics.Meter
+ import com.yammer.metrics.scala.Meter
import com.twitter.zookeeper.ZooKeeperClient
import com.boundary.ordasity.{Cluster, ClusterConfig, SmartListener}
View
12 pom.xml
@@ -23,6 +23,18 @@
<version>2.0.0-p01</version>
</dependency>
+ <dependency>
+ <groupId>com.yammer.metrics</groupId>
+ <artifactId>metrics-core</artifactId>
+ <version>2.0.0-RC0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.yammer.metrics</groupId>
+ <artifactId>metrics-scala_${scala.version}</artifactId>
+ <version>2.0.0-RC0</version>
+ </dependency>
+
<dependency>
<groupId>com.codahale</groupId>
<artifactId>logula_${scala.version}</artifactId>
@@ -19,7 +19,7 @@ package com.boundary.ordasity
import com.codahale.jerkson.Json._
import com.codahale.logula.Logging
import com.twitter.zookeeper.ZooKeeperClient
-import com.yammer.metrics.{Meter, Instrumented}
+import com.yammer.metrics.scala.{Meter, Instrumented}
import java.nio.charset.Charset
import overlock.atomicmap.AtomicMap
@@ -16,7 +16,7 @@
package com.boundary.ordasity
-import com.yammer.metrics.Meter
+import com.yammer.metrics.scala.Meter
import com.twitter.zookeeper.ZooKeeperClient
trait Listener {

0 comments on commit 6fc97f3

Please sign in to comment.