|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.addinframework.IThreadPoolProxy
public class IThreadPoolProxy
Internal use class Proxy for 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 | |
---|---|
boolean |
noncastable
|
static java.lang.Class |
targetClass
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Fields inherited from interface com.esri.arcgis.addinframework.IThreadPool |
---|
IID, IID132a89fa_e356_48d2_a926_44282c91e071 |
Constructor Summary | |
---|---|
|
IThreadPoolProxy()
For internal use only |
|
IThreadPoolProxy(java.lang.Object obj)
|
protected |
IThreadPoolProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IThreadPoolProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
protected |
IThreadPoolProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
Method Summary | |
---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
|
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 |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
|
void |
waitAll(int timeout)
Waits for all pending requests to complete (or cancel). |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class targetClass
public boolean noncastable
Constructor Detail |
---|
public IThreadPoolProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IThreadPoolProxy()
public IThreadPoolProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IThreadPoolProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IThreadPoolProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
addListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public IRequest execute(int data, int timeout) throws java.io.IOException, AutomationException
execute
in interface IThreadPool
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.public void executeForEach(int data, int timeout) throws java.io.IOException, AutomationException
executeForEach
in interface IThreadPool
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.public IRequest beginExecute(int data) throws java.io.IOException, AutomationException
beginExecute
in interface IThreadPool
data
- The data (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IWorkerThread createThread() throws java.io.IOException, AutomationException
createThread
in interface IThreadPool
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void waitAll(int timeout) throws java.io.IOException, AutomationException
waitAll
in interface IThreadPool
timeout
- The timeout (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void cancelAll() throws java.io.IOException, AutomationException
cancelAll
in interface IThreadPool
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSize(int[] size) throws java.io.IOException, AutomationException
getSize
in interface IThreadPool
size
- The size (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void compact() throws java.io.IOException, AutomationException
compact
in interface IThreadPool
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void destroy() throws java.io.IOException, AutomationException
destroy
in interface IThreadPool
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void beginExecuteForEach(int data) throws java.io.IOException, AutomationException
beginExecuteForEach
in interface IThreadPool
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 |