Class ModelInstanceCache<InstanceType extends ModelInstance,​DefinitionType extends ResourceDefinitionEntity>

    • Method Detail

      • findBpmnModelInstanceForDefinition

        public InstanceType findBpmnModelInstanceForDefinition​(DefinitionType definitionEntity)
      • findBpmnModelInstanceForDefinition

        public InstanceType findBpmnModelInstanceForDefinition​(java.lang.String definitionId)
      • removeAllDefinitionsByDeploymentId

        public void removeAllDefinitionsByDeploymentId​(java.lang.String deploymentId)
      • remove

        public void remove​(java.lang.String definitionId)
      • clear

        public void clear()
      • getCache

        public org.camunda.commons.utils.cache.Cache<java.lang.String,​InstanceType> getCache()
      • throwLoadModelException

        protected abstract void throwLoadModelException​(java.lang.String definitionId,
                                                        java.lang.Exception e)
      • logRemoveEntryFromDeploymentCacheFailure

        protected abstract void logRemoveEntryFromDeploymentCacheFailure​(java.lang.String definitionId,
                                                                         java.lang.Exception e)
      • readModelFromStream

        protected abstract InstanceType readModelFromStream​(java.io.InputStream stream)
      • getAllDefinitionsForDeployment

        protected abstract java.util.List<? extends ResourceDefinition> getAllDefinitionsForDeployment​(java.lang.String deploymentId)