com.esri.arcgis.addinframework
Interface IThreadingServices

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IThreadingServicesProxy

public interface IThreadingServices
extends java.io.Serializable

COM Interface 'IThreadingServices'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\SharedArcGIS\DepFiles\com\DADF\esriDADFSystem.tlb'

Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDc48a00d7_3525_4c0b_9110_829e8e98b704
           
static int xxDummy
          Deprecated. Internal use only
 
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(java.lang.String valueName)
          Get user defined thread local value for the calling thread.
 void isCanceled()
          Get thread local cancellation state.
 void setTLSValue(java.lang.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(java.lang.String status)
          Update thread local status.
 

Field Detail

IIDc48a00d7_3525_4c0b_9110_829e8e98b704

static final int IIDc48a00d7_3525_4c0b_9110_829e8e98b704
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

createPool

IThreadPool createPool(IThreadPoolImpl pWorker,
                       int minThreads,
                       int maxThreads,
                       int priority)
                       throws java.io.IOException,
                              AutomationException
Creates a worker thread pool.

Parameters:
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)
Returns:
A reference to a com.esri.arcgis.addinframework.IThreadPool
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGUIThreadID

int getGUIThreadID()
                   throws java.io.IOException,
                          AutomationException
Returns the GUI thread ID.

Returns:
The pThreadID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanceled

void isCanceled()
                throws java.io.IOException,
                       AutomationException
Get thread local cancellation state.

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

updateStatus

void updateStatus(java.lang.String status)
                  throws java.io.IOException,
                         AutomationException
Update thread local status.

Parameters:
status - The status (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTLSValue

int getTLSValue(java.lang.String valueName)
                throws java.io.IOException,
                       AutomationException
Get user defined thread local value for the calling thread.

Parameters:
valueName - The valueName (in)
Returns:
The ppValue (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTLSValue

void setTLSValue(java.lang.String valueName,
                 int pValue)
                 throws java.io.IOException,
                        AutomationException
Set user defined thread local value for the calling thread.

Parameters:
valueName - The valueName (in)
pValue - The pValue (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdown

void shutdown()
              throws java.io.IOException,
                     AutomationException
Signals the threading services to cancel all requests and terminate.

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

getShutdownComplete

void getShutdownComplete()
                         throws java.io.IOException,
                                AutomationException
Returns an event which will be signaled when the threading services have completely uninitialized.

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

createPoolEx

IThreadPool createPoolEx(IThreadPoolImpl pWorker,
                         int minThreads,
                         int maxThreads,
                         int priority,
                         int flags)
                         throws java.io.IOException,
                                AutomationException
Creates a worker thread pool.

Parameters:
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)
Returns:
A reference to a com.esri.arcgis.addinframework.IThreadPool
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.