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