aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/scala/kamon/ReporterRegistry.scala
diff options
context:
space:
mode:
Diffstat (limited to 'kamon-core/src/main/scala/kamon/ReporterRegistry.scala')
-rw-r--r--kamon-core/src/main/scala/kamon/ReporterRegistry.scala15
1 files changed, 0 insertions, 15 deletions
diff --git a/kamon-core/src/main/scala/kamon/ReporterRegistry.scala b/kamon-core/src/main/scala/kamon/ReporterRegistry.scala
index b42c5abe..98bde946 100644
--- a/kamon-core/src/main/scala/kamon/ReporterRegistry.scala
+++ b/kamon-core/src/main/scala/kamon/ReporterRegistry.scala
@@ -134,21 +134,6 @@ class ReporterRegistryImpl(metrics: RecorderRegistryImpl, initialConfig: Config)
}(ExecutionContext.fromExecutor(registryExecutionContext))
}
- /**
- * Creates a thread factory that assigns the specified name to all created Threads.
- */
- private def threadFactory(name: String): ThreadFactory =
- new ThreadFactory {
- val defaultFactory = Executors.defaultThreadFactory()
-
- override def newThread(r: Runnable): Thread = {
- val thread = defaultFactory.newThread(r)
- thread.setName(name)
- thread
- }
- }
-
-
private case class ReporterEntry(
@volatile var isActive: Boolean = true,
id: Long,