added method to get all items from cache.