Constructor
The channelmanager used to access the channel.
The channelId of the channel to iterate.
The owner of the channel to iterate.
The number of messages to load as one batch. Load the next batch with loadNextBatch().
Get the cached entries synchronously.
Initialize the instance.
Loads the next batch of messages.
Cleanup the instance.
This is a cache for aching raw channel elements
When calling init() only number of 'batchSize' elements are loaded. Loading further elements is done when calling loadNextBatch.
Updating the cache happens for two reasons: