Class CachePurgeReport
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.deploy.cache.CachePurgeReport
-
- All Implemented Interfaces:
PurgeReporting<Set<String>>
public class CachePurgeReport extends Object implements PurgeReporting<Set<String>>
- Author:
- Christopher Zell
-
-
Field Summary
Fields Modifier and Type Field Description static StringBPMN_MODEL_INST_CACHEstatic StringCASE_DEF_CACHEstatic StringCASE_MODEL_INST_CACHEstatic StringDMN_DEF_CACHEstatic StringDMN_MODEL_INST_CACHEstatic StringDMN_REQ_DEF_CACHEstatic StringPROCESS_DEF_CACHE
-
Constructor Summary
Constructors Constructor Description CachePurgeReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPurgeInformation(String key, Set<String> value)Adds the key value pair as report information to the current purge report.booleancontainsReport(String key)Returns true if the key is present in the current report.Map<String,Set<String>>getPurgeReport()Returns the current purge report.StringgetPurgeReportAsString()Transforms and returns the purge report to a string.Set<String>getReportValue(String key)Returns the value for the given key.booleanisEmpty()Returns true if the report is empty.
-
-
-
Field Detail
-
PROCESS_DEF_CACHE
public static final String PROCESS_DEF_CACHE
- See Also:
- Constant Field Values
-
BPMN_MODEL_INST_CACHE
public static final String BPMN_MODEL_INST_CACHE
- See Also:
- Constant Field Values
-
CASE_DEF_CACHE
public static final String CASE_DEF_CACHE
- See Also:
- Constant Field Values
-
CASE_MODEL_INST_CACHE
public static final String CASE_MODEL_INST_CACHE
- See Also:
- Constant Field Values
-
DMN_DEF_CACHE
public static final String DMN_DEF_CACHE
- See Also:
- Constant Field Values
-
DMN_REQ_DEF_CACHE
public static final String DMN_REQ_DEF_CACHE
- See Also:
- Constant Field Values
-
DMN_MODEL_INST_CACHE
public static final String DMN_MODEL_INST_CACHE
- See Also:
- Constant Field Values
-
-
Method Detail
-
addPurgeInformation
public void addPurgeInformation(String key, Set<String> value)
Description copied from interface:PurgeReportingAdds the key value pair as report information to the current purge report.- Specified by:
addPurgeInformationin interfacePurgeReporting<Set<String>>- Parameters:
key- the report keyvalue- the report value
-
getPurgeReport
public Map<String,Set<String>> getPurgeReport()
Description copied from interface:PurgeReportingReturns the current purge report.- Specified by:
getPurgeReportin interfacePurgeReporting<Set<String>>- Returns:
- the purge report
-
getPurgeReportAsString
public String getPurgeReportAsString()
Description copied from interface:PurgeReportingTransforms and returns the purge report to a string.- Specified by:
getPurgeReportAsStringin interfacePurgeReporting<Set<String>>- Returns:
- the purge report as string
-
getReportValue
public Set<String> getReportValue(String key)
Description copied from interface:PurgeReportingReturns the value for the given key.- Specified by:
getReportValuein interfacePurgeReporting<Set<String>>- Parameters:
key- the key which exist in the current report- Returns:
- the corresponding value
-
containsReport
public boolean containsReport(String key)
Description copied from interface:PurgeReportingReturns true if the key is present in the current report.- Specified by:
containsReportin interfacePurgeReporting<Set<String>>- Parameters:
key- the key- Returns:
- true if the key is present
-
isEmpty
public boolean isEmpty()
Description copied from interface:PurgeReportingReturns true if the report is empty.- Specified by:
isEmptyin interfacePurgeReporting<Set<String>>- Returns:
- true if the report is empty, false otherwise
-
-