Example of expiration with the cache interface

WARNING - TOPIC NOT WRITTEN - TOPIC ID: 1554

This topic has not yet been written. The content below is from the topic description.
For example, assume the following configuration:   // this entry will expire in 1000 millis cache.put("pinot noir", pinotNoirPrice);   // this entry will expire in 2000 millis cache.put("chardonnay", chardonnayPrice, 2, TimeUnit.SECONDS);   // this entry will expire 1000 millis after it is last accessed cache.put("pinot grigio", pinotGrigioPrice, -1,           TimeUnit.SECONDS, 1, TimeUnit.SECONDS);   // this entry will expire 1000 millis after it is last accessed, or // in 5000 millis, which ever triggers first cache.put("riesling", rieslingPrice, 5,           TimeUnit.SECONDS, 1, TimeUnit.SECONDS);