com.sun.star.lib.uno.environments.remote.ThreadPoolManager
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Object | |
| public void | |
| public void | |
| public void | |
| public void | |
| public Object | |
| public Object | |
| public ThreadId | |
| public void |
| attach | back to summary |
|---|---|
| public void attach() Attaches this thread to the thread pool.
| |
| attach | back to summary |
|---|---|
| public Object attach(ThreadId id) As above, but hands in an already existing instance of the threadid of the current thread. The function exists for performance. | |
| destroy | back to summary |
|---|---|
| public void destroy() Destroys the thread pool and tries to join all created threads immediately. | |
| detach | back to summary |
|---|---|
| public void detach() Detaches this thread from the thread pool.
| |
| detach | back to summary |
|---|---|
| public void detach(Object handle, ThreadId id) As above, but hands in an already existing instance of the threadid of the current thread and a handle returned by attach. The function exists for performance. | |
| dispose | back to summary |
|---|---|
| public void dispose(Throwable throwable) Disposes this thread pool, thus releasing all threads by throwing a
| |
| enter | back to summary |
|---|---|
| public Object enter() throws Throwable Lets this thread enter the thread pool. This thread then executes all jobs put via
| |
| enter | back to summary |
|---|---|
| public Object enter(Object handle, ThreadId id) throws Throwable As above but hands in an already existing instance of the threadid of the current thread and a handle returned by attach. This thread then executes all jobs put via
| |
| getThreadId | back to summary |
|---|---|
| public ThreadId getThreadId() Retrieves the global threadId for the current thread.
| |
| putJob | back to summary |
|---|---|
| public void putJob(Job job) Queues a job into the jobQueue of the thread belonging to the jobs threadId.
| |