Is it possible to use a distributed cache for ProcessDefinitionInfoCache?
I read Joram Barrez’s blog about using distributed cache as process definition cache, but unlike ProcessDefinitionCache, ProcessDefinitionInfoCache cannot be configured via ProcessEngineConfigurationImpl.
If not, is it okay if we would implement a custom distributed cache extending ProcessDefinitionInfoCache and pass it to the DeploymentManager as ProcessDefinitionInfoCache?
Is it possible to use a distributed cache for ProcessDefinitionInfoCache?
If you implement your own extension, I don’t see why it won’t be possible.
ProcessDefinitionInfoCache cannot be configured via ProcessEngineConfigurationImpl.
This is clearly an oversight and a setter can be added to the ProcessEngineConfigurationImpl so you can set a custom ProcessDefinitionInfoCache in the configuration. You can provide a PR that we can review and merge within the engine. As you have noticed you can also pass it directly to the DeploymentManager.