Package org.camunda.bpm.engine.impl.cmd
Class PurgeDatabaseAndCacheCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.PurgeDatabaseAndCacheCmd
-
- All Implemented Interfaces:
java.io.Serializable
,Command<PurgeReport>
public class PurgeDatabaseAndCacheCmd extends java.lang.Object implements Command<PurgeReport>, java.io.Serializable
Purges the database and the deployment cache. That means that each entity will be removed from the database and from the cache. The command returns a purge report. That report contains information of the deleted rows for each table and the values from the cache which are removed.- Author:
- Christopher Zell
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
DELETE_TABLE_DATA
protected static java.lang.String
EMPTY_STRING
protected static java.lang.String
SELECT_TABLE_COUNT
protected static java.lang.String
TABLE_NAME
static java.util.List<java.lang.String>
TABLENAMES_EXCLUDED_FROM_DB_CLEAN_CHECK
-
Constructor Summary
Constructors Constructor Description PurgeDatabaseAndCacheCmd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PurgeReport
execute(CommandContext commandContext)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Field Detail
-
DELETE_TABLE_DATA
protected static final java.lang.String DELETE_TABLE_DATA
- See Also:
- Constant Field Values
-
SELECT_TABLE_COUNT
protected static final java.lang.String SELECT_TABLE_COUNT
- See Also:
- Constant Field Values
-
TABLE_NAME
protected static final java.lang.String TABLE_NAME
- See Also:
- Constant Field Values
-
EMPTY_STRING
protected static final java.lang.String EMPTY_STRING
- See Also:
- Constant Field Values
-
TABLENAMES_EXCLUDED_FROM_DB_CLEAN_CHECK
public static final java.util.List<java.lang.String> TABLENAMES_EXCLUDED_FROM_DB_CLEAN_CHECK
-
-
Method Detail
-
execute
public PurgeReport execute(CommandContext commandContext)
- Specified by:
execute
in interfaceCommand<PurgeReport>
-
-