com.esri.arcgis.addinframework
Interface IThreadPoolImpl

All Superinterfaces:
Serializable
All Known Implementing Classes:
IThreadPoolImplProxy

public interface IThreadPoolImpl
extends Serializable


Method Summary
 void onExecute(IRequest request)
          Called when any worker thread in the pool needs perform to work.
 void onThreadCreate()
          Called to perform onetime initialization when a worker thread is added to the pool.
 void onThreadDestroy()
          Called to perform any specialized cleanup when a worker thread is removed from the pool.
 void onUpdate(IRequest request)
          Called on the GUI thread to update any U/I status while any worker thread in the pool is executing.
 

Method Detail

onThreadCreate

void onThreadCreate()
                    throws IOException,
                           AutomationException
Called to perform onetime initialization when a worker thread is added to the pool.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onExecute

void onExecute(IRequest request)
               throws IOException,
                      AutomationException
Called when any worker thread in the pool needs perform to work.

Parameters:
request - A reference to a com.esri.arcgis.addinframework.IRequest (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onUpdate

void onUpdate(IRequest request)
              throws IOException,
                     AutomationException
Called on the GUI thread to update any U/I status while any worker thread in the pool is executing.

Parameters:
request - A reference to a com.esri.arcgis.addinframework.IRequest (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onThreadDestroy

void onThreadDestroy()
                     throws IOException,
                            AutomationException
Called to perform any specialized cleanup when a worker thread is removed from the pool.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.