JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Public Member Functions | Protected Attributes
IThreadUser Class Referenceabstract

#include <IThreadUser.h>

Inheritance diagram for IThreadUser:
[legend]

Public Member Functions

 IThreadUser (size_t maxThreads)
 
virtual ~IThreadUser ()=default
 
virtual void forceThreads (size_t threads)=0
 
virtual size_t getUsedThreads () const =0
 
virtual size_t getMaxThreads () const
 
virtual void setMaxThreads (size_t maxThreads)
 
virtual size_t recommendedThreads () const =0
 

Protected Attributes

size_t maxThreads
 

Constructor & Destructor Documentation

◆ IThreadUser()

IThreadUser::IThreadUser ( size_t  maxThreads)
inlineexplicit

◆ ~IThreadUser()

virtual IThreadUser::~IThreadUser ( )
virtualdefault

Member Function Documentation

◆ forceThreads()

virtual void IThreadUser::forceThreads ( size_t  threads)
pure virtual

Implemented in IOThreadPool< Worker >.

◆ getMaxThreads()

virtual size_t IThreadUser::getMaxThreads ( ) const
inlinevirtual

Reimplemented in IOThreadPool< Worker >.

Here is the caller graph for this function:

◆ getUsedThreads()

virtual size_t IThreadUser::getUsedThreads ( ) const
pure virtual

Implemented in IOThreadPool< Worker >.

◆ recommendedThreads()

virtual size_t IThreadUser::recommendedThreads ( ) const
pure virtual

Implemented in IOThreadPool< Worker >.

◆ setMaxThreads()

virtual void IThreadUser::setMaxThreads ( size_t  maxThreads)
inlinevirtual

Reimplemented in IOThreadPool< Worker >.

Here is the caller graph for this function:

Field Documentation

◆ maxThreads

size_t IThreadUser::maxThreads
protected

The documentation for this class was generated from the following file: