You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
implicit def anyToByte[T](implicit m: Manifest[T]) = new Codec[T, Array[Byte]] {
....
}
val underlyingGuavaCache: Cache[String, Object] = CacheBuilder.newBuilder().maximumSize(10000L).build[String, Object]
val scalaCacheGuava = ScalaCache(GuavaCache(underlyingGuavaCache))
val cacheType = config.getString("guava.cache.type")
val scalaCacheRedis = ScalaCache(RedisCache("127.0.0.1", 6379))
implicit val scalaCache= //scalaCacheRedis
cacheType match {
case value if value.toLowerCase == "redis" =>
scalaCacheGuava// scalaCacheGuava
case _ =>
scalaCacheRedis// scalaCacheGuava
}
Error:(63, 54) not enough arguments for macro method memoizeSync: (implicit scalaCache: scalacache.ScalaCache[_1], implicit flags: scalacache.Flags, implicit codec: scalacache.serialization.Codec[String,_1])String.
Unspecified value parameter codec.
def getLeumiBranchesFromBank: String = memoizeSync {
Error:(63, 54) Could not find any Codecs for type String and Repr. Please provide one or import scalacache._
```
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: