StarOffice 5.2 API
reverse engineered by classdoc

com.sun.star.lib.uno.environments.remote
Class JavaThreadPool

java.lang.Object
  |
  +--com.sun.star.lib.uno.environments.remote.JavaThreadPool
All Implemented Interfaces:
com.sun.star.lib.uno.environments.remote.IThreadPool

public synchronized class JavaThreadPool
extends java.lang.Object
implements com.sun.star.lib.uno.environments.remote.IThreadPool


Field Summary
 boolean DEBUG
           
protected  boolean __disposed
           
protected  java.util.Hashtable __jobQueues
           
protected  int __job_done
           
protected  int __job_put
           
 
Constructor Summary
JavaThreadPool()
           
 
Method Summary
 void addThread(com.sun.star.uno.IBridge ib)
           
 void addThread(java.lang.Thread t, com.sun.star.uno.IBridge ib)
           
 void dispose(com.sun.star.uno.IBridge ib)
           
 java.lang.Object enter()
           
 java.lang.Object enter(com.sun.star.lib.uno.environments.remote.ThreadID tid, boolean b)
           
 com.sun.star.lib.uno.environments.remote.JobQueue getJobQueue(com.sun.star.lib.uno.environments.remote.ThreadID tid)
           
 com.sun.star.lib.uno.environments.remote.ThreadID getThreadId()
           
 com.sun.star.lib.uno.environments.remote.ThreadID getThreadId(java.lang.Thread t)
           
(package private)  void list()
           
 void putJob(com.sun.star.lib.uno.environments.remote.Job j, com.sun.star.uno.IBridge ib)
           
 void removeThread()
           
 void removeThread(com.sun.star.lib.uno.environments.remote.ThreadID tid)
           
 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
 

Field Detail

DEBUG

public final boolean DEBUG

__disposed

protected boolean __disposed

__jobQueues

protected java.util.Hashtable __jobQueues

__job_done

protected int __job_done

__job_put

protected int __job_put
Constructor Detail

JavaThreadPool

public JavaThreadPool()
Method Detail

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

addThread

public void addThread(java.lang.Thread t,
                      com.sun.star.uno.IBridge ib)
               throws java.lang.InterruptedException

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

enter

public java.lang.Object enter(com.sun.star.lib.uno.environments.remote.ThreadID tid,
                              boolean b)
                       throws java.lang.Exception

getJobQueue

public com.sun.star.lib.uno.environments.remote.JobQueue getJobQueue(com.sun.star.lib.uno.environments.remote.ThreadID tid)

getThreadId

public com.sun.star.lib.uno.environments.remote.ThreadID getThreadId()
Specified by:
getThreadId in interface com.sun.star.lib.uno.environments.remote.IThreadPool

getThreadId

public com.sun.star.lib.uno.environments.remote.ThreadID getThreadId(java.lang.Thread t)

list

void list()

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()
Specified by:
removeThread in interface com.sun.star.lib.uno.environments.remote.IThreadPool

removeThread

public void removeThread(com.sun.star.lib.uno.environments.remote.ThreadID tid)

stopDispose

public void stopDispose(com.sun.star.uno.IBridge ib)
Specified by:
stopDispose in interface com.sun.star.lib.uno.environments.remote.IThreadPool

StarOffice 5.2 API
reverse engineered by classdoc