shuang
shuang
There are some **SimpleDateFormat** object used in concurrency environment. take the follow code as example. it should no be used in concurrency environment, especially in Utils object. ``` package code.api.util...
In order to reduce frequently query metrics related db table, add cache to metrics endpoints. Accept criteria: 1. Get Aggregate Metrics 2. Get Connector Metrics 3. Get Metrics 4. Get...
The following code not works: ``` import com.softwaremill.macmemo.memoize class GraphBuilder { val max = 20000 // val max = read from props file. @memoize(maxSize = max, expiresAfter = 2 hours)...