diff options
author | Diego Parra <diegolparra@gmail.com> | 2015-12-24 12:30:58 -0300 |
---|---|---|
committer | Diego Parra <diegolparra@gmail.com> | 2015-12-24 12:30:58 -0300 |
commit | 9899b33351ad769558b0bcd9af4533b070c91162 (patch) | |
tree | 735de28155e9ec9fce26b2f0ed1754a38fb81ade /kamon-core/src/main/scala/kamon/metric/instrument/Instrument.scala | |
parent | 961c6080fbf3cb1662121992a6ba65d7ca999a1e (diff) | |
parent | 4a918ce6570129d3d4fd2d3e98d43f8078bb2d99 (diff) | |
download | Kamon-9899b33351ad769558b0bcd9af4533b070c91162.tar.gz Kamon-9899b33351ad769558b0bcd9af4533b070c91162.tar.bz2 Kamon-9899b33351ad769558b0bcd9af4533b070c91162.zip |
Merge pull request #294 from jozic/scale
Scale
Diffstat (limited to 'kamon-core/src/main/scala/kamon/metric/instrument/Instrument.scala')
-rw-r--r-- | kamon-core/src/main/scala/kamon/metric/instrument/Instrument.scala | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kamon-core/src/main/scala/kamon/metric/instrument/Instrument.scala b/kamon-core/src/main/scala/kamon/metric/instrument/Instrument.scala index 089dbeec..2c4b4319 100644 --- a/kamon-core/src/main/scala/kamon/metric/instrument/Instrument.scala +++ b/kamon-core/src/main/scala/kamon/metric/instrument/Instrument.scala @@ -18,10 +18,6 @@ package kamon.metric.instrument import java.nio.LongBuffer -import akka.actor.{ Scheduler, Cancellable } -import akka.dispatch.MessageDispatcher -import scala.concurrent.duration.FiniteDuration - private[kamon] trait Instrument { type SnapshotType <: InstrumentSnapshot @@ -31,6 +27,8 @@ private[kamon] trait Instrument { trait InstrumentSnapshot { def merge(that: InstrumentSnapshot, context: CollectionContext): InstrumentSnapshot + + def scale(from: UnitOfMeasurement, to: UnitOfMeasurement): InstrumentSnapshot } trait CollectionContext { |