@Override
public List<Object> retrieveFromCache(String broadcasterId,
AtmosphereResource r) {
List<Object> result = new ArrayList<Object>();
ItemStateListBean response = new ItemStateListBean(new ItemListBean());
for (Object cacheMessage : super.retrieveFromCache(broadcasterId, r)) {
if (cacheMessage instanceof ItemStateListBean) {
ItemStateListBean cachedStateList = (ItemStateListBean) cacheMessage;
// add states to the response (maybe a comparison is needed here
// so that only the last state of an item is used)