com.knockdata.spark.highcharts.Registry.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spark-highcharts Show documentation
Show all versions of spark-highcharts Show documentation
Provide Highcharts Support for Spark either in Zepplin or spark-shell
package com.knockdata.spark.highcharts
import java.util.concurrent.ConcurrentHashMap
object Registry {
val registry = new ConcurrentHashMap[String, Object]()
def put(key: String, value: Object): Object = registry.put(key, value)
def get(key: String): Object = registry.get(key)
}