public class DecisionDefinitionCache extends ResourceDefinitionCache<DecisionDefinitionEntity>
cache, cacheDeployer
Constructor and Description |
---|
DecisionDefinitionCache(CacheFactory factory,
int cacheCapacity,
CacheDeployer cacheDeployer) |
addDefinition, clear, findDefinitionFromCache, findDeployedDefinitionByDeploymentAndKey, findDeployedDefinitionById, findDeployedDefinitionByKeyVersionAndTenantId, findDeployedDefinitionByKeyVersionTagAndTenantId, findDeployedLatestDefinitionByKey, findDeployedLatestDefinitionByKeyAndTenantId, getCache, getDefinition, removeDefinitionFromCache, resolveDefinition
public DecisionDefinitionCache(CacheFactory factory, int cacheCapacity, CacheDeployer cacheDeployer)
public DecisionDefinitionEntity findDeployedDefinitionByKeyAndVersion(String definitionKey, Integer definitionVersion)
protected AbstractResourceDefinitionManager<DecisionDefinitionEntity> getManager()
getManager
in class ResourceDefinitionCache<DecisionDefinitionEntity>
protected void checkInvalidDefinitionId(String definitionId)
checkInvalidDefinitionId
in class ResourceDefinitionCache<DecisionDefinitionEntity>
protected void checkDefinitionFound(String definitionId, DecisionDefinitionEntity definition)
checkDefinitionFound
in class ResourceDefinitionCache<DecisionDefinitionEntity>
protected void checkInvalidDefinitionByKey(String definitionKey, DecisionDefinitionEntity definition)
checkInvalidDefinitionByKey
in class ResourceDefinitionCache<DecisionDefinitionEntity>
protected void checkInvalidDefinitionByKeyAndTenantId(String definitionKey, String tenantId, DecisionDefinitionEntity definition)
checkInvalidDefinitionByKeyAndTenantId
in class ResourceDefinitionCache<DecisionDefinitionEntity>
protected void checkInvalidDefinitionByKeyAndVersion(String decisionDefinitionKey, Integer decisionDefinitionVersion, DecisionDefinitionEntity decisionDefinition)
protected void checkInvalidDefinitionByKeyVersionAndTenantId(String definitionKey, Integer definitionVersion, String tenantId, DecisionDefinitionEntity definition)
checkInvalidDefinitionByKeyVersionAndTenantId
in class ResourceDefinitionCache<DecisionDefinitionEntity>
protected void checkInvalidDefinitionByKeyVersionTagAndTenantId(String definitionKey, String definitionVersionTag, String tenantId, DecisionDefinitionEntity definition)
checkInvalidDefinitionByKeyVersionTagAndTenantId
in class ResourceDefinitionCache<DecisionDefinitionEntity>
protected void checkInvalidDefinitionByDeploymentAndKey(String deploymentId, String definitionKey, DecisionDefinitionEntity definition)
checkInvalidDefinitionByDeploymentAndKey
in class ResourceDefinitionCache<DecisionDefinitionEntity>
protected void checkInvalidDefinitionWasCached(String deploymentId, String definitionId, DecisionDefinitionEntity definition)
checkInvalidDefinitionWasCached
in class ResourceDefinitionCache<DecisionDefinitionEntity>
Copyright © 2021. All rights reserved.