Class CachePurgeReport
java.lang.Object
org.camunda.bpm.engine.impl.persistence.deploy.cache.CachePurgeReport
- All Implemented Interfaces:
PurgeReporting<Set<String>>
- Author:
- Christopher Zell <christopher.zell@camunda.com>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPurgeInformation
(String key, Set<String> value) Adds the key value pair as report information to the current purge report.boolean
containsReport
(String key) Returns true if the key is present in the current report.Returns the current purge report.Transforms and returns the purge report to a string.getReportValue
(String key) Returns the value for the given key.boolean
isEmpty()
Returns true if the report is empty.
-
Field Details
-
PROCESS_DEF_CACHE
- See Also:
-
BPMN_MODEL_INST_CACHE
- See Also:
-
CASE_DEF_CACHE
- See Also:
-
CASE_MODEL_INST_CACHE
- See Also:
-
DMN_DEF_CACHE
- See Also:
-
DMN_REQ_DEF_CACHE
- See Also:
-
DMN_MODEL_INST_CACHE
- See Also:
-
-
Constructor Details
-
CachePurgeReport
public CachePurgeReport()
-
-
Method Details
-
addPurgeInformation
Description copied from interface:PurgeReporting
Adds the key value pair as report information to the current purge report.- Specified by:
addPurgeInformation
in interfacePurgeReporting<Set<String>>
- Parameters:
key
- the report keyvalue
- the report value
-
getPurgeReport
Description copied from interface:PurgeReporting
Returns the current purge report.- Specified by:
getPurgeReport
in interfacePurgeReporting<Set<String>>
- Returns:
- the purge report
-
getPurgeReportAsString
Description copied from interface:PurgeReporting
Transforms and returns the purge report to a string.- Specified by:
getPurgeReportAsString
in interfacePurgeReporting<Set<String>>
- Returns:
- the purge report as string
-
getReportValue
Description copied from interface:PurgeReporting
Returns the value for the given key.- Specified by:
getReportValue
in interfacePurgeReporting<Set<String>>
- Parameters:
key
- the key which exist in the current report- Returns:
- the corresponding value
-
containsReport
Description copied from interface:PurgeReporting
Returns true if the key is present in the current report.- Specified by:
containsReport
in interfacePurgeReporting<Set<String>>
- Parameters:
key
- the key- Returns:
- true if the key is present
-
isEmpty
public boolean isEmpty()Description copied from interface:PurgeReporting
Returns true if the report is empty.- Specified by:
isEmpty
in interfacePurgeReporting<Set<String>>
- Returns:
- true if the report is empty, false otherwise
-