|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IThreadPool
COM Interface 'IThreadPool'. 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 |
IID132a89fa_e356_48d2_a926_44282c91e071
|
static int |
xxDummy
Deprecated. Internal use only |
Method Summary | |
---|---|
IRequest |
beginExecute(int data)
Asynchronously executes a user defined worker on any available thread. |
void |
beginExecuteForEach(int data)
Executes a request on all workers in the pool. |
void |
cancelAll()
Cancels all pending requests. |
void |
compact()
Frees unutilized threads in the pool. |
IWorkerThread |
createThread()
Allocates a worker thread for dedicated use outside of the pool. |
void |
destroy()
Destroys the thread pool. |
IRequest |
execute(int data,
int timeout)
Synchronously executes a user defined worker on any available thread. |
void |
executeForEach(int data,
int timeout)
Executes a request on all workers in the pool, then waits for all to complete. |
void |
getSize(int[] size)
Returns the current size of the pool (thread count). |
void |
waitAll(int timeout)
Waits for all pending requests to complete (or cancel). |
Field Detail |
---|
static final int IID132a89fa_e356_48d2_a926_44282c91e071
static final int xxDummy
static final java.lang.String IID
Method Detail |
---|
IRequest execute(int data, int timeout) throws java.io.IOException, AutomationException
data
- The data (A COM typedef) (in)timeout
- The timeout (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void executeForEach(int data, int timeout) throws java.io.IOException, AutomationException
data
- The data (A COM typedef) (in)timeout
- The timeout (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRequest beginExecute(int data) throws java.io.IOException, AutomationException
data
- The data (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IWorkerThread createThread() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void waitAll(int timeout) throws java.io.IOException, AutomationException
timeout
- The timeout (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void cancelAll() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getSize(int[] size) throws java.io.IOException, AutomationException
size
- The size (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void compact() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void destroy() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void beginExecuteForEach(int data) throws java.io.IOException, AutomationException
data
- The data (A COM typedef) (in)
java.io.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 |