Class ContentEngineConfiguration

    • Field Detail

      • LOGGER

        protected static final org.slf4j.Logger LOGGER
      • DEFAULT_MYBATIS_MAPPING_FILE

        public static final java.lang.String DEFAULT_MYBATIS_MAPPING_FILE
        See Also:
        Constant Field Values
      • LIQUIBASE_CHANGELOG_PREFIX

        public static final java.lang.String LIQUIBASE_CHANGELOG_PREFIX
        See Also:
        Constant Field Values
      • contentEngineName

        protected java.lang.String contentEngineName
      • contentManagementService

        protected org.flowable.content.api.ContentManagementService contentManagementService
      • contentStorage

        protected org.flowable.content.api.ContentStorage contentStorage
      • contentRootFolder

        protected java.lang.String contentRootFolder
      • createContentRootFolder

        protected boolean createContentRootFolder
      • jobSchemaManager

        protected org.flowable.common.engine.impl.db.SchemaManager jobSchemaManager
      • executeServiceSchemaManagers

        protected boolean executeServiceSchemaManagers
      • documentDefinitionCacheLimit

        protected int documentDefinitionCacheLimit
      • documentDefinitionCache

        protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<DocumentDefinitionCacheEntry> documentDefinitionCache
      • enginesBuild

        protected java.util.List<java.lang.String> enginesBuild
      • jobServiceConfiguration

        protected org.flowable.job.service.JobServiceConfiguration jobServiceConfiguration
      • asyncExecutor

        protected org.flowable.job.service.impl.asyncexecutor.AsyncExecutor asyncExecutor
      • asyncTaskExecutor

        protected org.flowable.common.engine.api.async.AsyncTaskExecutor asyncTaskExecutor
      • shutdownAsyncTaskExecutor

        protected boolean shutdownAsyncTaskExecutor
      • jobManager

        protected org.flowable.job.service.impl.asyncexecutor.JobManager jobManager
      • customJobHandlers

        protected java.util.List<org.flowable.job.service.JobHandler> customJobHandlers
      • jobHandlers

        protected java.util.Map<java.lang.String,​org.flowable.job.service.JobHandler> jobHandlers
      • internalJobManager

        protected org.flowable.job.service.InternalJobManager internalJobManager
      • customAsyncRunnableExecutionExceptionHandlers

        protected java.util.List<org.flowable.job.service.impl.asyncexecutor.AsyncRunnableExecutionExceptionHandler> customAsyncRunnableExecutionExceptionHandlers
      • addDefaultExceptionHandler

        protected boolean addDefaultExceptionHandler
      • failedJobCommandFactory

        protected org.flowable.job.service.impl.asyncexecutor.FailedJobCommandFactory failedJobCommandFactory
      • internalJobParentStateResolver

        protected org.flowable.job.service.InternalJobParentStateResolver internalJobParentStateResolver
      • jobExecutionScope

        protected java.lang.String jobExecutionScope
      • variableTypes

        protected org.flowable.variable.api.types.VariableTypes variableTypes
      • customPreVariableTypes

        protected java.util.List<org.flowable.variable.api.types.VariableType> customPreVariableTypes
      • customPostVariableTypes

        protected java.util.List<org.flowable.variable.api.types.VariableType> customPostVariableTypes
      • serializableVariableTypeTrackDeserializedObjects

        protected boolean serializableVariableTypeTrackDeserializedObjects
      • asyncExecutorActivate

        protected boolean asyncExecutorActivate
        Boolean flag to be set to activate the AsyncExecutor automatically after the engine has booted up.
      • asyncExecutorMessageQueueMode

        protected boolean asyncExecutorMessageQueueMode
        Experimental!

        Set this to true when using the message queue based job executor.

      • asyncExecutorNumberOfRetries

        protected int asyncExecutorNumberOfRetries
        The number of retries for a job.
      • lockTimeAsyncJobWaitTime

        protected int lockTimeAsyncJobWaitTime
        Define the default lock time for an async job in seconds. The lock time is used when creating an async job and when it expires the async executor assumes that the job has failed. It will be retried again.
      • defaultFailedJobWaitTime

        protected int defaultFailedJobWaitTime
        Define the default wait time for a failed job in seconds
      • asyncFailedJobWaitTime

        protected int asyncFailedJobWaitTime
        Defines the default wait time for a failed async job in seconds
      • asyncExecutorCorePoolSize

        protected int asyncExecutorCorePoolSize
        The minimal number of threads that are kept alive in the threadpool for job execution. Default value = 2.

        This property is only applicable when using the threadpool-based async executor.

      • asyncExecutorMaxPoolSize

        protected int asyncExecutorMaxPoolSize
        The maximum number of threads that are created in the threadpool for job execution. Default value = 10.

        This property is only applicable when using the threadpool-based async executor.

      • asyncExecutorThreadKeepAliveTime

        protected long asyncExecutorThreadKeepAliveTime
        The time (in milliseconds) a thread used for job execution must be kept alive before it is destroyed. Default setting is 5 seconds. Having a setting greater than 0 takes resources, but in the case of many job executions it avoids creating new threads all the time. If 0, threads will be destroyed after they've been used for job execution.

        This property is only applicable when using the threadpool-based async executor.

      • asyncExecutorThreadPoolQueueSize

        protected int asyncExecutorThreadPoolQueueSize
        The size of the queue on which jobs to be executed are placed, before they are actually executed. Default value = 100.

        This property is only applicable when using the threadpool-based async executor.

      • asyncExecutorThreadPoolQueue

        protected java.util.concurrent.BlockingQueue<java.lang.Runnable> asyncExecutorThreadPoolQueue
        The queue onto which jobs will be placed before they are actually executed. Threads form the async executor threadpool will take work from this queue.

        By default null. If null, an ArrayBlockingQueue will be created of size asyncExecutorThreadPoolQueueSize.

        When the queue is full, the job will be executed by the calling thread (ThreadPoolExecutor.CallerRunsPolicy())

        This property is only applicable when using the threadpool-based async executor.

      • asyncExecutorSecondsToWaitOnShutdown

        protected long asyncExecutorSecondsToWaitOnShutdown
        The time (in seconds) that is waited to gracefully shut down the threadpool used for job execution when a shutdown on the executor (or engine) is requested. Default value = 60.

        This property is only applicable when using the threadpool-based async executor.

      • asyncExecutorAllowCoreThreadTimeout

        protected boolean asyncExecutorAllowCoreThreadTimeout
        Whether or not core threads can time out (which is needed to scale down the threads). Default true. This property is only applicable when using the threadpool-based async executor.
      • asyncExecutorThreadFactory

        protected java.util.concurrent.ThreadFactory asyncExecutorThreadFactory
        The thread factory that the async task executor should use.
      • asyncExecutorMaxAsyncJobsDuePerAcquisition

        protected int asyncExecutorMaxAsyncJobsDuePerAcquisition
        The number of async jobs that are acquired during one query (before a job is executed, an acquirement thread fetches jobs from the database and puts them on the queue).

        Default value = 1, as this lowers the potential on optimistic locking exceptions. A larger value means more jobs will be fetched at the same time. Change this value if you know what you are doing.

        This property is only applicable when using the threadpool-based async executor.

      • asyncExecutorDefaultTimerJobAcquireWaitTime

        protected int asyncExecutorDefaultTimerJobAcquireWaitTime
        The time (in milliseconds) the timer acquisition thread will wait to execute the next acquirement query. This happens when no new timer jobs were found or when less timer jobs have been fetched than set in asyncExecutorMaxTimerJobsPerAcquisition. Default value = 10 seconds.

        (This property is only applicable when using the DefaultAsyncJobExecutor).

      • asyncExecutorDefaultAsyncJobAcquireWaitTime

        protected int asyncExecutorDefaultAsyncJobAcquireWaitTime
        The time (in milliseconds) the async job acquisition thread will wait to execute the next acquirement query. This happens when no new async jobs were found or when less async jobs have been fetched than set in asyncExecutorMaxAsyncJobsDuePerAcquisition. Default value = 10 seconds.

        This property is only applicable when using the threadpool-based async executor.

      • asyncExecutorDefaultQueueSizeFullWaitTime

        protected int asyncExecutorDefaultQueueSizeFullWaitTime
        The time (in milliseconds) the async job (both timer and async continuations) acquisition thread will wait when the queue is full to execute the next query.
      • asyncExecutorLockOwner

        protected java.lang.String asyncExecutorLockOwner
        When a job is acquired, it is locked so other async executors can't lock and execute it. While doing this, the 'name' of the lock owner is written into a column of the job.

        By default, a random UUID will be generated when the executor is created.

        It is important that each async executor instance in a cluster of Flowable engines has a different name!

        This property is only applicable when using the threadpool-based async executor.

      • asyncExecutorTenantId

        protected java.lang.String asyncExecutorTenantId
        Tenant for the async executor, if any.
      • asyncExecutorAsyncJobLockTimeInMillis

        protected int asyncExecutorAsyncJobLockTimeInMillis
        The amount of time (in milliseconds) an async job is locked when acquired by the async executor. During this period of time, no other async executor will try to acquire and lock this job. This property is only applicable when using the threadpool-based async executor.
      • asyncExecutorResetExpiredJobsInterval

        protected int asyncExecutorResetExpiredJobsInterval
        The amount of time (in milliseconds) that is between two consecutive checks of 'expired jobs'. Expired jobs are jobs that were locked (a lock owner + time was written by some executor, but the job was never completed).

        During such a check, jobs that are expired are again made available, meaning the lock owner and lock time will be removed. Other executors will now be able to pick it up.

        A job is deemed expired if the current time has passed the lock time.

        By default one minute.

      • asyncExecutorResetExpiredJobsMaxTimeout

        protected int asyncExecutorResetExpiredJobsMaxTimeout
        The amount of time (in milliseconds) a job can maximum be in the 'executable' state before being deemed expired. Note that this won't happen when using the threadpool based executor, as the acquire thread will fetch these kind of jobs earlier. However, in the message queue based execution, it could be some job is posted to a queue but then never is locked nor executed.

        By default 24 hours, as this should be a very exceptional case.

      • asyncExecutorResetExpiredJobsPageSize

        protected int asyncExecutorResetExpiredJobsPageSize
        The default AsyncExecutor has a 'cleanup' thread that resets expired jobs so they can be re-acquired by other executors. This setting defines the size of the page being used when fetching these expired jobs.
      • asyncExecutorExecuteAsyncRunnableFactory

        protected org.flowable.job.service.impl.asyncexecutor.ExecuteAsyncRunnableFactory asyncExecutorExecuteAsyncRunnableFactory
        Allows to define a custom factory for creating the Runnable that is executed by the async executor.

        This property is only applicable when using the threadpool-based async executor.

      • isAsyncExecutorAsyncJobAcquisitionEnabled

        protected boolean isAsyncExecutorAsyncJobAcquisitionEnabled
        Flags to control which threads (when using the default threadpool-based async executor) are started. This can be used to boot up engine instances that still execute jobs originating from this instance itself, but don't fetch new jobs themselves.
      • isAsyncExecutorResetExpiredJobsEnabled

        protected boolean isAsyncExecutorResetExpiredJobsEnabled
      • asyncHistoryExecutor

        protected org.flowable.job.service.impl.asyncexecutor.AsyncExecutor asyncHistoryExecutor
      • isAsyncHistoryEnabled

        protected boolean isAsyncHistoryEnabled
      • asyncHistoryListener

        protected org.flowable.job.service.impl.history.async.AsyncHistoryListener asyncHistoryListener
      • objectMapper

        protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
      • jsonVariableTypeTrackObjects

        protected boolean jsonVariableTypeTrackObjects
        This flag determines whether variables of the type 'json' and 'longJson' will be tracked.

        This means that, when true, in a JavaDelegate you can write:

        
             JsonNode jsonNode = (JsonNode) execution.getVariable("customer");
             customer.put("name", "Kermit");
         
        And the changes to the JsonNode will be reflected in the database. Otherwise, a manual call to setVariable will be needed.
    • Constructor Detail

      • ContentEngineConfiguration

        public ContentEngineConfiguration()
    • Method Detail

      • createContentEngineConfigurationFromResourceDefault

        public static ContentEngineConfiguration createContentEngineConfigurationFromResourceDefault()
      • createContentEngineConfigurationFromResource

        public static ContentEngineConfiguration createContentEngineConfigurationFromResource​(java.lang.String resource)
      • createContentEngineConfigurationFromResource

        public static ContentEngineConfiguration createContentEngineConfigurationFromResource​(java.lang.String resource,
                                                                                              java.lang.String beanName)
      • createContentEngineConfigurationFromInputStream

        public static ContentEngineConfiguration createContentEngineConfigurationFromInputStream​(java.io.InputStream inputStream)
      • createContentEngineConfigurationFromInputStream

        public static ContentEngineConfiguration createContentEngineConfigurationFromInputStream​(java.io.InputStream inputStream,
                                                                                                 java.lang.String beanName)
      • createStandaloneContentEngineConfiguration

        public static ContentEngineConfiguration createStandaloneContentEngineConfiguration()
      • createStandaloneInMemContentEngineConfiguration

        public static ContentEngineConfiguration createStandaloneInMemContentEngineConfiguration()
      • init

        protected void init()
      • initServices

        protected void initServices()
      • initDataManagers

        public void initDataManagers()
        Overrides:
        initDataManagers in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • initEntityManagers

        public void initEntityManagers()
        Overrides:
        initEntityManagers in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • initContentStorage

        public void initContentStorage()
      • initSchemaManager

        public void initSchemaManager()
        Overrides:
        initSchemaManager in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • initSchemaManagementCommand

        public void initSchemaManagementCommand()
      • initCommonSchemaManager

        protected void initCommonSchemaManager()
      • initJobSchemaManager

        protected void initJobSchemaManager()
      • initSessionFactories

        public void initSessionFactories()
        Overrides:
        initSessionFactories in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • initDbSqlSessionFactory

        public void initDbSqlSessionFactory()
        Overrides:
        initDbSqlSessionFactory in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • createDbSqlSessionFactory

        public org.flowable.common.engine.impl.db.DbSqlSessionFactory createDbSqlSessionFactory()
        Overrides:
        createDbSqlSessionFactory in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • initDbSqlSessionFactoryEntitySettings

        protected void initDbSqlSessionFactoryEntitySettings()
        Specified by:
        initDbSqlSessionFactoryEntitySettings in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • initMybatisTypeHandlers

        public void initMybatisTypeHandlers​(org.apache.ibatis.session.Configuration configuration)
        Overrides:
        initMybatisTypeHandlers in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • initAsyncHistorySessionFactory

        public void initAsyncHistorySessionFactory()
      • initDefaultAsyncHistoryListener

        protected void initDefaultAsyncHistoryListener()
      • initVariableTypes

        public void initVariableTypes()
      • initCommandExecutors

        public void initCommandExecutors()
        Overrides:
        initCommandExecutors in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • initCommandInterceptors

        public void initCommandInterceptors()
        Overrides:
        initCommandInterceptors in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • getEngineCfgKey

        public java.lang.String getEngineCfgKey()
        Specified by:
        getEngineCfgKey in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • getEngineScopeType

        public java.lang.String getEngineScopeType()
        Specified by:
        getEngineScopeType in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • createTransactionInterceptor

        public org.flowable.common.engine.impl.interceptor.CommandInterceptor createTransactionInterceptor()
        Specified by:
        createTransactionInterceptor in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • getMyBatisXmlConfigurationStream

        public java.io.InputStream getMyBatisXmlConfigurationStream()
        Specified by:
        getMyBatisXmlConfigurationStream in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • initObjectMapper

        public void initObjectMapper()
      • initDeployers

        protected void initDeployers()
      • getDefaultDeployers

        public java.util.Collection<? extends org.flowable.common.engine.impl.EngineDeployer> getDefaultDeployers()
      • initDocumentDefinitionCache

        protected void initDocumentDefinitionCache()
      • initDocumentResourceConverter

        protected void initDocumentResourceConverter()
      • initDeploymentManager

        protected void initDeploymentManager()
      • initContentRenditionManager

        public void initContentRenditionManager()
      • initJobHandlers

        public void initJobHandlers()
      • initFailedJobCommandFactory

        public void initFailedJobCommandFactory()
      • initJobServiceConfiguration

        public void initJobServiceConfiguration()
      • initAsyncTaskExecutor

        protected void initAsyncTaskExecutor()
      • initAsyncExecutor

        public void initAsyncExecutor()
      • getEngineName

        public java.lang.String getEngineName()
        Specified by:
        getEngineName in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setDatabaseType

        public ContentEngineConfiguration setDatabaseType​(java.lang.String databaseType)
        Overrides:
        setDatabaseType in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setDataSource

        public ContentEngineConfiguration setDataSource​(javax.sql.DataSource dataSource)
        Overrides:
        setDataSource in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setJdbcDriver

        public ContentEngineConfiguration setJdbcDriver​(java.lang.String jdbcDriver)
        Overrides:
        setJdbcDriver in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setJdbcUrl

        public ContentEngineConfiguration setJdbcUrl​(java.lang.String jdbcUrl)
        Overrides:
        setJdbcUrl in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setJdbcUsername

        public ContentEngineConfiguration setJdbcUsername​(java.lang.String jdbcUsername)
        Overrides:
        setJdbcUsername in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setJdbcPassword

        public ContentEngineConfiguration setJdbcPassword​(java.lang.String jdbcPassword)
        Overrides:
        setJdbcPassword in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setJdbcMaxActiveConnections

        public ContentEngineConfiguration setJdbcMaxActiveConnections​(int jdbcMaxActiveConnections)
        Overrides:
        setJdbcMaxActiveConnections in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setJdbcMaxIdleConnections

        public ContentEngineConfiguration setJdbcMaxIdleConnections​(int jdbcMaxIdleConnections)
        Overrides:
        setJdbcMaxIdleConnections in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setJdbcMaxCheckoutTime

        public ContentEngineConfiguration setJdbcMaxCheckoutTime​(int jdbcMaxCheckoutTime)
        Overrides:
        setJdbcMaxCheckoutTime in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setJdbcMaxWaitTime

        public ContentEngineConfiguration setJdbcMaxWaitTime​(int jdbcMaxWaitTime)
        Overrides:
        setJdbcMaxWaitTime in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setJdbcPingEnabled

        public ContentEngineConfiguration setJdbcPingEnabled​(boolean jdbcPingEnabled)
        Overrides:
        setJdbcPingEnabled in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setJdbcPingConnectionNotUsedFor

        public ContentEngineConfiguration setJdbcPingConnectionNotUsedFor​(int jdbcPingConnectionNotUsedFor)
        Overrides:
        setJdbcPingConnectionNotUsedFor in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setJdbcDefaultTransactionIsolationLevel

        public ContentEngineConfiguration setJdbcDefaultTransactionIsolationLevel​(int jdbcDefaultTransactionIsolationLevel)
        Overrides:
        setJdbcDefaultTransactionIsolationLevel in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setJdbcPingQuery

        public ContentEngineConfiguration setJdbcPingQuery​(java.lang.String jdbcPingQuery)
        Overrides:
        setJdbcPingQuery in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setDataSourceJndiName

        public ContentEngineConfiguration setDataSourceJndiName​(java.lang.String dataSourceJndiName)
        Overrides:
        setDataSourceJndiName in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • getContentManagementService

        public org.flowable.content.api.ContentManagementService getContentManagementService()
        Specified by:
        getContentManagementService in interface org.flowable.content.api.ContentEngineConfigurationApi
      • setContentManagementService

        public ContentEngineConfiguration setContentManagementService​(org.flowable.content.api.ContentManagementService contentManagementService)
      • setTableDataManager

        public ContentEngineConfiguration setTableDataManager​(org.flowable.common.engine.impl.persistence.entity.TableDataManager tableDataManager)
        Overrides:
        setTableDataManager in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • getContentStorage

        public org.flowable.content.api.ContentStorage getContentStorage()
      • setContentStorage

        public ContentEngineConfiguration setContentStorage​(org.flowable.content.api.ContentStorage contentStorage)
      • getContentRootFolder

        public java.lang.String getContentRootFolder()
      • isCreateContentRootFolder

        public boolean isCreateContentRootFolder()
      • setContentRenditionManager

        public void setContentRenditionManager​(ContentRenditionManager contentRenditionManager)
      • setContentCryptoHandler

        public void setContentCryptoHandler​(ContentCryptoHandler contentCryptoHandler)
      • getRenditionConverters

        public java.util.List<RenditionConverter> getRenditionConverters()
      • setRenditionConverters

        public void setRenditionConverters​(java.util.List<RenditionConverter> renditionConverters)
      • setSqlSessionFactory

        public ContentEngineConfiguration setSqlSessionFactory​(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
        Overrides:
        setSqlSessionFactory in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setTransactionFactory

        public ContentEngineConfiguration setTransactionFactory​(org.apache.ibatis.transaction.TransactionFactory transactionFactory)
        Overrides:
        setTransactionFactory in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setCustomMybatisMappers

        public ContentEngineConfiguration setCustomMybatisMappers​(java.util.Set<java.lang.Class<?>> customMybatisMappers)
        Overrides:
        setCustomMybatisMappers in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setCustomMybatisXMLMappers

        public ContentEngineConfiguration setCustomMybatisXMLMappers​(java.util.Set<java.lang.String> customMybatisXMLMappers)
        Overrides:
        setCustomMybatisXMLMappers in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setCustomSessionFactories

        public ContentEngineConfiguration setCustomSessionFactories​(java.util.List<org.flowable.common.engine.impl.interceptor.SessionFactory> customSessionFactories)
        Overrides:
        setCustomSessionFactories in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setUsingRelationalDatabase

        public ContentEngineConfiguration setUsingRelationalDatabase​(boolean usingRelationalDatabase)
        Overrides:
        setUsingRelationalDatabase in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setDatabaseTablePrefix

        public ContentEngineConfiguration setDatabaseTablePrefix​(java.lang.String databaseTablePrefix)
        Overrides:
        setDatabaseTablePrefix in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setDatabaseCatalog

        public ContentEngineConfiguration setDatabaseCatalog​(java.lang.String databaseCatalog)
        Overrides:
        setDatabaseCatalog in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setDatabaseSchema

        public ContentEngineConfiguration setDatabaseSchema​(java.lang.String databaseSchema)
        Overrides:
        setDatabaseSchema in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setTablePrefixIsSchema

        public ContentEngineConfiguration setTablePrefixIsSchema​(boolean tablePrefixIsSchema)
        Overrides:
        setTablePrefixIsSchema in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setSessionFactories

        public ContentEngineConfiguration setSessionFactories​(java.util.Map<java.lang.Class<?>,​org.flowable.common.engine.impl.interceptor.SessionFactory> sessionFactories)
        Overrides:
        setSessionFactories in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setDatabaseSchemaUpdate

        public ContentEngineConfiguration setDatabaseSchemaUpdate​(java.lang.String databaseSchemaUpdate)
        Overrides:
        setDatabaseSchemaUpdate in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • getJobSchemaManager

        public org.flowable.common.engine.impl.db.SchemaManager getJobSchemaManager()
      • setJobSchemaManager

        public ContentEngineConfiguration setJobSchemaManager​(org.flowable.common.engine.impl.db.SchemaManager jobSchemaManager)
      • isExecuteServiceSchemaManagers

        public boolean isExecuteServiceSchemaManagers()
      • setExecuteServiceSchemaManagers

        public ContentEngineConfiguration setExecuteServiceSchemaManagers​(boolean executeServiceSchemaManagers)
      • getDocumentDefinitionCacheLimit

        public int getDocumentDefinitionCacheLimit()
      • setDocumentDefinitionCacheLimit

        public ContentEngineConfiguration setDocumentDefinitionCacheLimit​(int documentDefinitionCacheLimit)
      • getDocumentDefinitionCache

        public org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<DocumentDefinitionCacheEntry> getDocumentDefinitionCache()
      • getJobServiceConfiguration

        public org.flowable.job.service.JobServiceConfiguration getJobServiceConfiguration()
      • setJobServiceConfiguration

        public ContentEngineConfiguration setJobServiceConfiguration​(org.flowable.job.service.JobServiceConfiguration jobServiceConfiguration)
      • getAsyncExecutor

        public org.flowable.job.service.impl.asyncexecutor.AsyncExecutor getAsyncExecutor()
      • setAsyncExecutor

        public ContentEngineConfiguration setAsyncExecutor​(org.flowable.job.service.impl.asyncexecutor.AsyncExecutor asyncExecutor)
      • getJobManager

        public org.flowable.job.service.impl.asyncexecutor.JobManager getJobManager()
      • setJobManager

        public ContentEngineConfiguration setJobManager​(org.flowable.job.service.impl.asyncexecutor.JobManager jobManager)
      • getCustomJobHandlers

        public java.util.List<org.flowable.job.service.JobHandler> getCustomJobHandlers()
      • setCustomJobHandlers

        public ContentEngineConfiguration setCustomJobHandlers​(java.util.List<org.flowable.job.service.JobHandler> customJobHandlers)
      • getJobHandlers

        public java.util.Map<java.lang.String,​org.flowable.job.service.JobHandler> getJobHandlers()
      • setJobHandlers

        public ContentEngineConfiguration setJobHandlers​(java.util.Map<java.lang.String,​org.flowable.job.service.JobHandler> jobHandlers)
      • getInternalJobManager

        public org.flowable.job.service.InternalJobManager getInternalJobManager()
      • setInternalJobManager

        public ContentEngineConfiguration setInternalJobManager​(org.flowable.job.service.InternalJobManager internalJobManager)
      • getCustomAsyncRunnableExecutionExceptionHandlers

        public java.util.List<org.flowable.job.service.impl.asyncexecutor.AsyncRunnableExecutionExceptionHandler> getCustomAsyncRunnableExecutionExceptionHandlers()
      • setCustomAsyncRunnableExecutionExceptionHandlers

        public ContentEngineConfiguration setCustomAsyncRunnableExecutionExceptionHandlers​(java.util.List<org.flowable.job.service.impl.asyncexecutor.AsyncRunnableExecutionExceptionHandler> customAsyncRunnableExecutionExceptionHandlers)
      • getFailedJobCommandFactory

        public org.flowable.job.service.impl.asyncexecutor.FailedJobCommandFactory getFailedJobCommandFactory()
      • setFailedJobCommandFactory

        public ContentEngineConfiguration setFailedJobCommandFactory​(org.flowable.job.service.impl.asyncexecutor.FailedJobCommandFactory failedJobCommandFactory)
      • getInternalJobParentStateResolver

        public org.flowable.job.service.InternalJobParentStateResolver getInternalJobParentStateResolver()
      • setInternalJobParentStateResolver

        public ContentEngineConfiguration setInternalJobParentStateResolver​(org.flowable.job.service.InternalJobParentStateResolver internalJobParentStateResolver)
      • getJobExecutionScope

        public java.lang.String getJobExecutionScope()
      • isAsyncExecutorActivate

        public boolean isAsyncExecutorActivate()
      • isAsyncExecutorMessageQueueMode

        public boolean isAsyncExecutorMessageQueueMode()
      • setAsyncExecutorMessageQueueMode

        public ContentEngineConfiguration setAsyncExecutorMessageQueueMode​(boolean asyncExecutorMessageQueueMode)
      • getAsyncExecutorNumberOfRetries

        public int getAsyncExecutorNumberOfRetries()
      • setAsyncExecutorNumberOfRetries

        public ContentEngineConfiguration setAsyncExecutorNumberOfRetries​(int asyncExecutorNumberOfRetries)
      • getLockTimeAsyncJobWaitTime

        public int getLockTimeAsyncJobWaitTime()
      • getDefaultFailedJobWaitTime

        public int getDefaultFailedJobWaitTime()
      • getAsyncFailedJobWaitTime

        public int getAsyncFailedJobWaitTime()
      • getAsyncExecutorCorePoolSize

        public int getAsyncExecutorCorePoolSize()
      • setAsyncExecutorCorePoolSize

        public ContentEngineConfiguration setAsyncExecutorCorePoolSize​(int asyncExecutorCorePoolSize)
      • getAsyncExecutorMaxPoolSize

        public int getAsyncExecutorMaxPoolSize()
      • getAsyncExecutorThreadKeepAliveTime

        public long getAsyncExecutorThreadKeepAliveTime()
      • setAsyncExecutorThreadKeepAliveTime

        public ContentEngineConfiguration setAsyncExecutorThreadKeepAliveTime​(long asyncExecutorThreadKeepAliveTime)
      • getAsyncExecutorThreadPoolQueueSize

        public int getAsyncExecutorThreadPoolQueueSize()
      • setAsyncExecutorThreadPoolQueueSize

        public ContentEngineConfiguration setAsyncExecutorThreadPoolQueueSize​(int asyncExecutorThreadPoolQueueSize)
      • isShutdownAsyncTaskExecutor

        public boolean isShutdownAsyncTaskExecutor()
      • setShutdownAsyncTaskExecutor

        public ContentEngineConfiguration setShutdownAsyncTaskExecutor​(boolean shutdownAsyncTaskExecutor)
      • getAsyncExecutorDefaultTimerJobAcquireWaitTime

        public int getAsyncExecutorDefaultTimerJobAcquireWaitTime()
      • setAsyncExecutorDefaultTimerJobAcquireWaitTime

        public ContentEngineConfiguration setAsyncExecutorDefaultTimerJobAcquireWaitTime​(int asyncExecutorDefaultTimerJobAcquireWaitTime)
      • getAsyncExecutorTenantId

        public java.lang.String getAsyncExecutorTenantId()
      • setAsyncExecutorTenantId

        public ContentEngineConfiguration setAsyncExecutorTenantId​(java.lang.String asyncExecutorTenantId)
      • getAsyncExecutorThreadPoolQueue

        public java.util.concurrent.BlockingQueue<java.lang.Runnable> getAsyncExecutorThreadPoolQueue()
      • setAsyncExecutorThreadPoolQueue

        public ContentEngineConfiguration setAsyncExecutorThreadPoolQueue​(java.util.concurrent.BlockingQueue<java.lang.Runnable> asyncExecutorThreadPoolQueue)
      • getAsyncExecutorSecondsToWaitOnShutdown

        public long getAsyncExecutorSecondsToWaitOnShutdown()
      • setAsyncExecutorSecondsToWaitOnShutdown

        public ContentEngineConfiguration setAsyncExecutorSecondsToWaitOnShutdown​(long asyncExecutorSecondsToWaitOnShutdown)
      • getAsyncTaskExecutor

        public org.flowable.common.engine.api.async.AsyncTaskExecutor getAsyncTaskExecutor()
      • setAsyncTaskExecutor

        public ContentEngineConfiguration setAsyncTaskExecutor​(org.flowable.common.engine.api.async.AsyncTaskExecutor asyncTaskExecutor)
      • isAsyncExecutorAllowCoreThreadTimeout

        public boolean isAsyncExecutorAllowCoreThreadTimeout()
      • setAsyncExecutorAllowCoreThreadTimeout

        public ContentEngineConfiguration setAsyncExecutorAllowCoreThreadTimeout​(boolean asyncExecutorAllowCoreThreadTimeout)
      • getAsyncExecutorThreadFactory

        public java.util.concurrent.ThreadFactory getAsyncExecutorThreadFactory()
      • setAsyncExecutorThreadFactory

        public ContentEngineConfiguration setAsyncExecutorThreadFactory​(java.util.concurrent.ThreadFactory asyncExecutorThreadFactory)
      • getAsyncExecutorMaxAsyncJobsDuePerAcquisition

        public int getAsyncExecutorMaxAsyncJobsDuePerAcquisition()
      • setAsyncExecutorMaxAsyncJobsDuePerAcquisition

        public ContentEngineConfiguration setAsyncExecutorMaxAsyncJobsDuePerAcquisition​(int asyncExecutorMaxAsyncJobsDuePerAcquisition)
      • getAsyncExecutorDefaultAsyncJobAcquireWaitTime

        public int getAsyncExecutorDefaultAsyncJobAcquireWaitTime()
      • setAsyncExecutorDefaultAsyncJobAcquireWaitTime

        public ContentEngineConfiguration setAsyncExecutorDefaultAsyncJobAcquireWaitTime​(int asyncExecutorDefaultAsyncJobAcquireWaitTime)
      • getAsyncExecutorDefaultQueueSizeFullWaitTime

        public int getAsyncExecutorDefaultQueueSizeFullWaitTime()
      • setAsyncExecutorDefaultQueueSizeFullWaitTime

        public ContentEngineConfiguration setAsyncExecutorDefaultQueueSizeFullWaitTime​(int asyncExecutorDefaultQueueSizeFullWaitTime)
      • getAsyncExecutorLockOwner

        public java.lang.String getAsyncExecutorLockOwner()
      • setAsyncExecutorLockOwner

        public ContentEngineConfiguration setAsyncExecutorLockOwner​(java.lang.String asyncExecutorLockOwner)
      • getAsyncExecutorAsyncJobLockTimeInMillis

        public int getAsyncExecutorAsyncJobLockTimeInMillis()
      • setAsyncExecutorAsyncJobLockTimeInMillis

        public ContentEngineConfiguration setAsyncExecutorAsyncJobLockTimeInMillis​(int asyncExecutorAsyncJobLockTimeInMillis)
      • getAsyncExecutorResetExpiredJobsInterval

        public int getAsyncExecutorResetExpiredJobsInterval()
      • setAsyncExecutorResetExpiredJobsInterval

        public ContentEngineConfiguration setAsyncExecutorResetExpiredJobsInterval​(int asyncExecutorResetExpiredJobsInterval)
      • getAsyncExecutorResetExpiredJobsMaxTimeout

        public int getAsyncExecutorResetExpiredJobsMaxTimeout()
      • setAsyncExecutorResetExpiredJobsMaxTimeout

        public ContentEngineConfiguration setAsyncExecutorResetExpiredJobsMaxTimeout​(int asyncExecutorResetExpiredJobsMaxTimeout)
      • getAsyncExecutorResetExpiredJobsPageSize

        public int getAsyncExecutorResetExpiredJobsPageSize()
      • setAsyncExecutorResetExpiredJobsPageSize

        public ContentEngineConfiguration setAsyncExecutorResetExpiredJobsPageSize​(int asyncExecutorResetExpiredJobsPageSize)
      • getAsyncExecutorExecuteAsyncRunnableFactory

        public org.flowable.job.service.impl.asyncexecutor.ExecuteAsyncRunnableFactory getAsyncExecutorExecuteAsyncRunnableFactory()
      • setAsyncExecutorExecuteAsyncRunnableFactory

        public ContentEngineConfiguration setAsyncExecutorExecuteAsyncRunnableFactory​(org.flowable.job.service.impl.asyncexecutor.ExecuteAsyncRunnableFactory asyncExecutorExecuteAsyncRunnableFactory)
      • isAsyncExecutorAsyncJobAcquisitionEnabled

        public boolean isAsyncExecutorAsyncJobAcquisitionEnabled()
      • setAsyncExecutorAsyncJobAcquisitionEnabled

        public ContentEngineConfiguration setAsyncExecutorAsyncJobAcquisitionEnabled​(boolean isAsyncExecutorAsyncJobAcquisitionEnabled)
      • isAsyncExecutorResetExpiredJobsEnabled

        public boolean isAsyncExecutorResetExpiredJobsEnabled()
      • setAsyncExecutorResetExpiredJobsEnabled

        public ContentEngineConfiguration setAsyncExecutorResetExpiredJobsEnabled​(boolean isAsyncExecutorResetExpiredJobsEnabled)
      • getAsyncHistoryExecutor

        public org.flowable.job.service.impl.asyncexecutor.AsyncExecutor getAsyncHistoryExecutor()
      • setAsyncHistoryExecutor

        public ContentEngineConfiguration setAsyncHistoryExecutor​(org.flowable.job.service.impl.asyncexecutor.AsyncExecutor asyncHistoryExecutor)
      • isAsyncHistoryEnabled

        public boolean isAsyncHistoryEnabled()
      • getAsyncHistoryListener

        public org.flowable.job.service.impl.history.async.AsyncHistoryListener getAsyncHistoryListener()
      • setAsyncHistoryListener

        public ContentEngineConfiguration setAsyncHistoryListener​(org.flowable.job.service.impl.history.async.AsyncHistoryListener asyncHistoryListener)
      • getVariableTypes

        public org.flowable.variable.api.types.VariableTypes getVariableTypes()
      • setVariableTypes

        public ContentEngineConfiguration setVariableTypes​(org.flowable.variable.api.types.VariableTypes variableTypes)
      • getCustomPreVariableTypes

        public java.util.List<org.flowable.variable.api.types.VariableType> getCustomPreVariableTypes()
      • setCustomPreVariableTypes

        public ContentEngineConfiguration setCustomPreVariableTypes​(java.util.List<org.flowable.variable.api.types.VariableType> customPreVariableTypes)
      • getCustomPostVariableTypes

        public java.util.List<org.flowable.variable.api.types.VariableType> getCustomPostVariableTypes()
      • setCustomPostVariableTypes

        public ContentEngineConfiguration setCustomPostVariableTypes​(java.util.List<org.flowable.variable.api.types.VariableType> customPostVariableTypes)
      • isJsonVariableTypeTrackObjects

        public boolean isJsonVariableTypeTrackObjects()
      • setJsonVariableTypeTrackObjects

        public ContentEngineConfiguration setJsonVariableTypeTrackObjects​(boolean jsonVariableTypeTrackObjects)
      • getObjectMapper

        public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
        Overrides:
        getObjectMapper in class org.flowable.common.engine.impl.AbstractEngineConfiguration
      • setObjectMapper

        public ContentEngineConfiguration setObjectMapper​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Overrides:
        setObjectMapper in class org.flowable.common.engine.impl.AbstractEngineConfiguration