diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-05-18 22:15:27 -0300 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-05-18 22:15:27 -0300 |
commit | c4b8ecb87381abe8224c247d399fd2a2bdd0372c (patch) | |
tree | 614ddbb4c5a9c4e4cc4a867964382c3f60611530 /kamon-core/src/main/scala/kamon/util | |
parent | ace4d9d09097aa9b7e032d5bfbe154dcf73f74ed (diff) | |
download | Kamon-c4b8ecb87381abe8224c247d399fd2a2bdd0372c.tar.gz Kamon-c4b8ecb87381abe8224c247d399fd2a2bdd0372c.tar.bz2 Kamon-c4b8ecb87381abe8224c247d399fd2a2bdd0372c.zip |
+ core: allow dispatcher configuration to core components
Diffstat (limited to 'kamon-core/src/main/scala/kamon/util')
-rw-r--r-- | kamon-core/src/main/scala/kamon/util/Contexts.scala | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/kamon-core/src/main/scala/kamon/util/Contexts.scala b/kamon-core/src/main/scala/kamon/util/Contexts.scala deleted file mode 100644 index be0d367e..00000000 --- a/kamon-core/src/main/scala/kamon/util/Contexts.scala +++ /dev/null @@ -1,24 +0,0 @@ -package kamon.util - -import akka.actor.ActorSystem - -/* - * ========================================================================================= - * Copyright © 2013-2014 the kamon project <http://kamon.io/> - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the - * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, - * either express or implied. See the License for the specific language governing permissions - * and limitations under the License. - * ========================================================================================= - */ -object Contexts { - val kamonDefaultDispatcher = "kamon.default-dispatcher" - - def lookupExecutionContext(id: String)(implicit system: ActorSystem) = system.dispatchers.lookup(id) -} |