public abstract class AbstractProcessor extends Object implements Processor
Constructor and Description |
---|
AbstractProcessor(String name) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
action() |
String |
getName()
返回名称
|
void |
run() |
void |
setExceptionCallBack(ExceptionCallBack exceptionCallBack) |
void |
setMultiThreadProcess(MultiThreadProcessor multiThreadProcess)
设置多线程处理器
|
public AbstractProcessor(String name)
public void setExceptionCallBack(ExceptionCallBack exceptionCallBack)
setExceptionCallBack
in interface Processor
public void setMultiThreadProcess(MultiThreadProcessor multiThreadProcess)
Processor
setMultiThreadProcess
in interface Processor
Copyright © 2006–2018 TinyGroup. All rights reserved.