Package org.flowable.eventregistry.api

# Interface EventManagementService

public interface EventManagementService

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `executeEventRegistryChangeDetection()`
  Programmatically execute the house keeping functionality: any new channel definitions deployed on other engine nodes (using the same datasource) will be deployed.
  `LockManager`
  `getLockManager(String lockName)`
  Acquire a lock manager for the requested lock.
  `Map<String,Long>`
  `getTableCounts()`
  Returns a map containing {tableName, rowCount} values.
  `Collection<String>`
  `getTableNames()`
  Returns all relational database tables of the engine.

- ## Method Details

  - ### getTableCounts

    Map<String,Long> getTableCounts()
    Returns a map containing {tableName, rowCount} values.

  - ### getTableNames

    Collection<String> getTableNames()
    Returns all relational database tables of the engine.

  - ### executeEventRegistryChangeDetection

    void executeEventRegistryChangeDetection()
    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.

  - ### getLockManager

    LockManager getLockManager(String lockName)
    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.
    Parameters:
      `lockName` - the name of the lock that is being requested
    Returns:
      the lock manager for the given lock