add javadoc to cache class