public class AsyncHistoryExecutorStarter extends Object implements org.springframework.context.SmartLifecycle
Modifier and Type | Field and Description |
---|---|
protected boolean |
activate |
protected org.flowable.job.service.impl.asyncexecutor.AsyncExecutor |
asyncHistoryExecutor |
Constructor and Description |
---|
AsyncHistoryExecutorStarter(boolean activate,
org.flowable.job.service.impl.asyncexecutor.AsyncExecutor asyncHistoryExecutor) |
Modifier and Type | Method and Description |
---|---|
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
start() |
void |
stop() |
void |
stop(Runnable callback) |
protected boolean activate
protected org.flowable.job.service.impl.asyncexecutor.AsyncExecutor asyncHistoryExecutor
public AsyncHistoryExecutorStarter(boolean activate, org.flowable.job.service.impl.asyncexecutor.AsyncExecutor asyncHistoryExecutor)
public boolean isAutoStartup()
isAutoStartup
in interface org.springframework.context.SmartLifecycle
public void start()
start
in interface org.springframework.context.Lifecycle
public void stop(Runnable callback)
stop
in interface org.springframework.context.SmartLifecycle
public void stop()
stop
in interface org.springframework.context.Lifecycle
public boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
public int getPhase()
getPhase
in interface org.springframework.context.Phased
getPhase
in interface org.springframework.context.SmartLifecycle
Copyright © 2019. All rights reserved.