Package org.flowable.eventregistry.impl
Class EventManagementServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<EventRegistryEngineConfiguration>
org.flowable.eventregistry.impl.EventManagementServiceImpl
- All Implemented Interfaces:
EventManagementService
public class EventManagementServiceImpl
extends CommonEngineServiceImpl<EventRegistryEngineConfiguration>
implements EventManagementService
- Author:
- Tijs Rademakers
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutor
Fields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration
-
Constructor Summary
ConstructorsConstructorDescriptionEventManagementServiceImpl
(EventRegistryEngineConfiguration engineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Programmatically execute the house keeping functionality: any new channel definitions deployed on other engine nodes (using the same datasource) will be deployed.getLockManager
(String lockName) Acquire a lock manager for the requested lock.Returns a map containing {tableName, rowCount} values.Returns all relational database tables of the engine.Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
EventManagementServiceImpl
-
-
Method Details
-
getTableCounts
Description copied from interface:EventManagementService
Returns a map containing {tableName, rowCount} values.- Specified by:
getTableCounts
in interfaceEventManagementService
-
getTableNames
Description copied from interface:EventManagementService
Returns all relational database tables of the engine.- Specified by:
getTableNames
in interfaceEventManagementService
-
executeEventRegistryChangeDetection
public void executeEventRegistryChangeDetection()Description copied from interface:EventManagementService
Programmatically execute the house keeping functionality: any new channel definitions deployed on other engine nodes (using the same datasource) will be deployed. Any removed channel definitions on other engine nodes will be removed.- Specified by:
executeEventRegistryChangeDetection
in interfaceEventManagementService
-
getLockManager
Description copied from interface:EventManagementService
Acquire a lock manager for the requested lock. This is a stateless call, this means that every time a lock manager is requested a new one would be created. Make sure that you release the lock once you are done.- Specified by:
getLockManager
in interfaceEventManagementService
- Parameters:
lockName
- the name of the lock that is being requested- Returns:
- the lock manager for the given lock
-