public class ProcessDefinitionCache extends ResourceDefinitionCache<ProcessDefinitionEntity>
cache, cacheDeployer
Constructor and Description |
---|
ProcessDefinitionCache(CacheFactory factory,
int cacheCapacity,
CacheDeployer cacheDeployer) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkDefinitionFound(String definitionId,
ProcessDefinitionEntity definition) |
protected void |
checkInvalidDefinitionByDeploymentAndKey(String deploymentId,
String definitionKey,
ProcessDefinitionEntity definition) |
protected void |
checkInvalidDefinitionByKey(String definitionKey,
ProcessDefinitionEntity definition) |
protected void |
checkInvalidDefinitionByKeyAndTenantId(String definitionKey,
String tenantId,
ProcessDefinitionEntity definition) |
protected void |
checkInvalidDefinitionByKeyVersionAndTenantId(String definitionKey,
Integer definitionVersion,
String tenantId,
ProcessDefinitionEntity definition) |
protected void |
checkInvalidDefinitionId(String definitionId) |
protected void |
checkInvalidDefinitionWasCached(String deploymentId,
String definitionId,
ProcessDefinitionEntity definition) |
protected AbstractResourceDefinitionManager<ProcessDefinitionEntity> |
getManager() |
addDefinition, clear, findDefinitionFromCache, findDeployedDefinitionByDeploymentAndKey, findDeployedDefinitionById, findDeployedDefinitionByKeyVersionAndTenantId, findDeployedLatestDefinitionByKey, findDeployedLatestDefinitionByKeyAndTenantId, getCache, getDefinition, removeDefinitionFromCache, resolveDefinition
public ProcessDefinitionCache(CacheFactory factory, int cacheCapacity, CacheDeployer cacheDeployer)
protected AbstractResourceDefinitionManager<ProcessDefinitionEntity> getManager()
getManager
in class ResourceDefinitionCache<ProcessDefinitionEntity>
protected void checkInvalidDefinitionId(String definitionId)
checkInvalidDefinitionId
in class ResourceDefinitionCache<ProcessDefinitionEntity>
protected void checkDefinitionFound(String definitionId, ProcessDefinitionEntity definition)
checkDefinitionFound
in class ResourceDefinitionCache<ProcessDefinitionEntity>
protected void checkInvalidDefinitionByKey(String definitionKey, ProcessDefinitionEntity definition)
checkInvalidDefinitionByKey
in class ResourceDefinitionCache<ProcessDefinitionEntity>
protected void checkInvalidDefinitionByKeyAndTenantId(String definitionKey, String tenantId, ProcessDefinitionEntity definition)
checkInvalidDefinitionByKeyAndTenantId
in class ResourceDefinitionCache<ProcessDefinitionEntity>
protected void checkInvalidDefinitionByKeyVersionAndTenantId(String definitionKey, Integer definitionVersion, String tenantId, ProcessDefinitionEntity definition)
checkInvalidDefinitionByKeyVersionAndTenantId
in class ResourceDefinitionCache<ProcessDefinitionEntity>
protected void checkInvalidDefinitionByDeploymentAndKey(String deploymentId, String definitionKey, ProcessDefinitionEntity definition)
checkInvalidDefinitionByDeploymentAndKey
in class ResourceDefinitionCache<ProcessDefinitionEntity>
protected void checkInvalidDefinitionWasCached(String deploymentId, String definitionId, ProcessDefinitionEntity definition)
checkInvalidDefinitionWasCached
in class ResourceDefinitionCache<ProcessDefinitionEntity>
Copyright © 2017. All rights reserved.