Class PageDeploymentCache
- java.lang.Object
-
- com.flowable.app.engine.impl.deployer.PageDeploymentCache
-
public class PageDeploymentCache extends Object
-
-
Constructor Summary
Constructors Constructor Description PageDeploymentCache()
Cache with no limitPageDeploymentCache(int limit)
Cache which has a hard limit: no more elements will be cached than the limit.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPageModel(String appDefinitionId, PageDefinitionCacheEntry pageEntry)
void
addPageModels(String appDefinitionId, Map<String,PageDefinitionCacheEntry> obj)
void
clear()
boolean
containsAppKey(String appDefinitionId)
Collection<Map<String,PageDefinitionCacheEntry>>
getAll()
Map<String,PageDefinitionCacheEntry>
getPageEntriesByAppDefinitionId(String appDefinitionId)
PageDefinitionCacheEntry
getPageEntry(String appDefinitionId, String pageDefinitionRef)
void
removePageModels(String appDefinitionId)
int
size()
-
-
-
Field Detail
-
cache
protected Map<String,Map<String,PageDefinitionCacheEntry>> cache
-
-
Method Detail
-
getPageEntriesByAppDefinitionId
public Map<String,PageDefinitionCacheEntry> getPageEntriesByAppDefinitionId(String appDefinitionId)
-
getPageEntry
public PageDefinitionCacheEntry getPageEntry(String appDefinitionId, String pageDefinitionRef)
-
addPageModels
public void addPageModels(String appDefinitionId, Map<String,PageDefinitionCacheEntry> obj)
-
addPageModel
public void addPageModel(String appDefinitionId, PageDefinitionCacheEntry pageEntry)
-
removePageModels
public void removePageModels(String appDefinitionId)
-
containsAppKey
public boolean containsAppKey(String appDefinitionId)
-
clear
public void clear()
-
getAll
public Collection<Map<String,PageDefinitionCacheEntry>> getAll()
-
size
public int size()
-
-