org.tinygroup.threadgroup
类 AbstractProcessor

java.lang.Object
  继承者 org.tinygroup.threadgroup.AbstractProcessor
所有已实现的接口:
Runnable, Processor

public abstract class AbstractProcessor
extends Object
implements Processor

抽象处理器

作者:
luoguo

构造方法摘要
AbstractProcessor(String name)
           
 
方法摘要
protected abstract  void action()
           
 String getName()
          返回名称
 void run()
           
 void setExceptionCallBack(ExceptionCallBack exceptionCallBack)
           
 void setMultiThreadProcess(MultiThreadProcessor multiThreadProcess)
          设置多线程处理器
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

AbstractProcessor

public AbstractProcessor(String name)
方法详细信息

action

protected abstract void action()
                        throws Exception
抛出:
Exception

setExceptionCallBack

public void setExceptionCallBack(ExceptionCallBack exceptionCallBack)
指定者:
接口 Processor 中的 setExceptionCallBack

getName

public String getName()
从接口 Processor 复制的描述
返回名称

指定者:
接口 Processor 中的 getName
返回:

run

public void run()
指定者:
接口 Runnable 中的 run

setMultiThreadProcess

public void setMultiThreadProcess(MultiThreadProcessor multiThreadProcess)
从接口 Processor 复制的描述
设置多线程处理器

指定者:
接口 Processor 中的 setMultiThreadProcess


Copyright © 2006–2015 TinyGroup. All rights reserved.