Closed jemshit closed 6 years ago
You can use ProviderGroup
for that.
ProviderGroup<List<Model>> cacheProvider =
reactiveCache.<List<Model>>providerGroup()
.withKey("modelsPaginated")
api.getModels(group)
.compose(cacheProvider.replace(group))
How to read
Event
item lets say, with key ? In readme, i can only seecacheProvider.read()
which does not take key. As i understand, there are two keys? in this library, one forcacheProvider
like "event", another foritem
itself like "1243". Is that correct