Class AbstractLifecycleExecutor
java.lang.Object
org.apache.shardingsphere.data.pipeline.api.executor.AbstractLifecycleExecutor
- All Implemented Interfaces:
Runnable,LifecycleExecutor
Abstract lifecycle executor.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractLifecycleExecutor
public AbstractLifecycleExecutor()
-
-
Method Details
-
start
public void start()Description copied from interface:LifecycleExecutorStart run execute.- Specified by:
startin interfaceLifecycleExecutor
-
doStart
protected abstract void doStart() -
stop
public final void stop()Description copied from interface:LifecycleExecutorStop running execute.- Specified by:
stopin interfaceLifecycleExecutor
-
doStop
protected abstract void doStop() -
run
public final void run()
-