In my case, I need to use DataManager to do the saving and loading, however I’m struggling to understand how to map the InMemoryStore to the DTO entity.
The InMemoryStore bean comes with some boilerplate code, such as getName, setName, etc. Do I need to modify these at all?
I think some added context is needed;
I have a Quartz job that periodically contacts the Microsoft Graph API and returns a value, this is the value I want to save in the DTO.
What do you mean by “saving in DTO”?
I can imagine a use case when your periodic job creates a DTO and saves to the in-memory data store, and then you read from it and show data in UI. Am I right?