Fixed inconsistent spacing in Scala Cache
Added Duration support to Java Cache interface