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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
TABLENAMES_EXCLUDED_FROM_DB_CLEAN_CHECK
public static final List<String> TABLENAMES_EXCLUDED_FROM_DB_CLEAN_CHECK
PurgeDatabaseAndCacheCmd
public PurgeDatabaseAndCacheCmd()
execute
public PurgeReport execute(CommandContext commandContext)
- Specified by:
execute
in interface Command<PurgeReport>
Copyright © 2017 camunda services GmbH. All rights reserved.