Minor doc improvement

in the Cache API chapter as well as in `Listener`'s JavaDoc.