com.sun.star.lib.uno.environments.remote
Class NativeThreadPoolWrapper
java.lang.Object
|
+--com.sun.star.lib.uno.environments.remote.NativeThreadPoolWrapper
- All Implemented Interfaces:
- com.sun.star.lib.uno.environments.remote.IThreadPool
- public synchronized class NativeThreadPoolWrapper
- extends java.lang.Object
- implements com.sun.star.lib.uno.environments.remote.IThreadPool
Field Summary |
boolean |
DEBUG
|
protected com.sun.star.lib.uno.environments.remote.INativeCallback |
_callback
|
protected java.util.Hashtable |
_mapTicket
|
Constructor Summary |
NativeThreadPoolWrapper()
|
Method Summary |
void |
addThread(com.sun.star.uno.IBridge ib)
|
void |
dispose(com.sun.star.uno.IBridge ib)
|
java.lang.Object |
enter()
|
com.sun.star.lib.uno.environments.remote.ThreadID |
getThreadId()
|
void |
putJob(com.sun.star.lib.uno.environments.remote.Job j,
com.sun.star.uno.IBridge ib)
|
void |
removeThread()
|
void |
stopDispose(com.sun.star.uno.IBridge ib)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
public final boolean DEBUG
_callback
protected com.sun.star.lib.uno.environments.remote.INativeCallback _callback
_mapTicket
protected java.util.Hashtable _mapTicket
NativeThreadPoolWrapper
public NativeThreadPoolWrapper()
addThread
public void addThread(com.sun.star.uno.IBridge ib)
throws java.lang.InterruptedException
- Specified by:
addThread
in interface com.sun.star.lib.uno.environments.remote.IThreadPool
dispose
public void dispose(com.sun.star.uno.IBridge ib)
- Specified by:
dispose
in interface com.sun.star.lib.uno.environments.remote.IThreadPool
enter
public java.lang.Object enter()
throws java.lang.Exception
- Specified by:
enter
in interface com.sun.star.lib.uno.environments.remote.IThreadPool
getThreadId
public com.sun.star.lib.uno.environments.remote.ThreadID getThreadId()
- Specified by:
getThreadId
in interface com.sun.star.lib.uno.environments.remote.IThreadPool
putJob
public void putJob(com.sun.star.lib.uno.environments.remote.Job j,
com.sun.star.uno.IBridge ib)
throws java.lang.InterruptedException
- Specified by:
putJob
in interface com.sun.star.lib.uno.environments.remote.IThreadPool
removeThread
public void removeThread()
throws java.lang.InterruptedException
- Specified by:
removeThread
in interface com.sun.star.lib.uno.environments.remote.IThreadPool
stopDispose
public void stopDispose(com.sun.star.uno.IBridge ib)
- Specified by:
stopDispose
in interface com.sun.star.lib.uno.environments.remote.IThreadPool