ComponentOne PDF for .NET
CSJ2K.j2k.util Namespace / ThreadPool Class
Fields Properties Methods


In This Topic
    ThreadPool Class Members
    In This Topic

    The following tables list the members exposed by ThreadPool.

    Public Constructors
     NameDescription
    Public Constructor  
    Top
    Public Fields
     NameDescription
    Public FieldThe name of the property that sets the concurrency level: jj2000.j2k.util.ThreadPool.concurrency  
    Top
    Public Properties
     NameDescription
    Public PropertyReturns the size of the pool. That is the number of threads in this pool (idle + busy).  
    Top
    Public Methods
     NameDescription
    Public MethodChecks that no error or runtime exception in any target have occurred so far. If an error or runtime exception has occurred in a target's run method they are thrown by this method.  
    Public Method  
    Public MethodOverloaded. Runs the run method of the specified target in an idle thread of this pool. When the target's run method completes, the thread waiting on the lock object is notified, if any. If there is currently no idle thread and the asynchronous mode is not used the method will block until a thread of the pool becomes idle or the calling thread is interrupted. If the asynchronous mode is used then the method will not block and will return false.  
    Top
    See Also