|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IThreadingServices
Method Summary | |
---|---|
IThreadPool |
createPool(IThreadPoolImpl pWorker,
int minThreads,
int maxThreads,
int priority)
Creates a worker thread pool. |
IThreadPool |
createPoolEx(IThreadPoolImpl pWorker,
int minThreads,
int maxThreads,
int priority,
int flags)
Creates a worker thread pool. |
int |
getGUIThreadID()
Returns the GUI thread ID. |
void |
getShutdownComplete()
Returns an event which will be signaled when the threading services have completely uninitialized. |
int |
getTLSValue(String valueName)
Get user defined thread local value for the calling thread. |
void |
isCanceled()
Get thread local cancellation state. |
void |
setTLSValue(String valueName,
int pValue)
Set user defined thread local value for the calling thread. |
void |
shutdown()
Signals the threading services to cancel all requests and terminate. |
void |
updateStatus(String status)
Update thread local status. |
Method Detail |
---|
IThreadPool createPool(IThreadPoolImpl pWorker, int minThreads, int maxThreads, int priority) throws IOException, AutomationException
pWorker
- A reference to a com.esri.arcgis.addinframework.IThreadPoolImpl (in)minThreads
- The minThreads (in)maxThreads
- The maxThreads (in)priority
- A com.esri.arcgis.addinframework.esriThreadPoolPriority constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getGUIThreadID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void isCanceled() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void updateStatus(String status) throws IOException, AutomationException
status
- The status (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getTLSValue(String valueName) throws IOException, AutomationException
valueName
- The valueName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTLSValue(String valueName, int pValue) throws IOException, AutomationException
valueName
- The valueName (in)pValue
- The pValue (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void shutdown() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getShutdownComplete() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IThreadPool createPoolEx(IThreadPoolImpl pWorker, int minThreads, int maxThreads, int priority, int flags) throws IOException, AutomationException
pWorker
- A reference to a com.esri.arcgis.addinframework.IThreadPoolImpl (in)minThreads
- The minThreads (in)maxThreads
- The maxThreads (in)priority
- A com.esri.arcgis.addinframework.esriThreadPoolPriority constant (in)flags
- A com.esri.arcgis.addinframework.esriThreadPoolFlags constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |