Package org.camunda.bpm.engine.impl.cmd
Class PurgeDatabaseAndCacheCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.PurgeDatabaseAndCacheCmd
-
- All Implemented Interfaces:
Serializable
,Command<PurgeReport>
public class PurgeDatabaseAndCacheCmd extends Object implements Command<PurgeReport>, 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 String
DELETE_TABLE_DATA
protected static String
EMPTY_STRING
protected static String
SELECT_TABLE_COUNT
protected static String
TABLE_NAME
static List<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 String DELETE_TABLE_DATA
- See Also:
- Constant Field Values
-
SELECT_TABLE_COUNT
protected static final String SELECT_TABLE_COUNT
- See Also:
- Constant Field Values
-
TABLE_NAME
protected static final String TABLE_NAME
- See Also:
- Constant Field Values
-
EMPTY_STRING
protected static final String EMPTY_STRING
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public PurgeReport execute(CommandContext commandContext)
- Specified by:
execute
in interfaceCommand<PurgeReport>
-
-