System.Threading.TThreadPoolStats

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

  TThreadPoolStats = record
  private
    FWorkerThreadCount: Integer;
    FMinLimitWorkerThreadCount: Integer;
    FMaxLimitWorkerThreadCount: Integer;
    FIdleWorkerThreadCount: Integer;
    FQueuedRequestCount: Integer;
    FRetiredWorkerThreadCount: Integer;
    FAverageCPUUsage: Integer;
    FCurrentCPUUsage: Integer;
    FThreadSuspended: Integer;
    FLastSuspendTick: UInt64;
    FLastThreadCreationTick: UInt64;
    FLastQueuedRequestCount: Integer;
    class function GetCurrent: TThreadPoolStats; static; inline;
    class function GetDefault: TThreadPoolStats; static; inline;
  public
    property WorkerThreadCount: Integer read FWorkerThreadCount;
    property MinLimitWorkerThreadCount: Integer read FMinLimitWorkerThreadCount;
    property MaxLimitWorkerThreadCount: Integer read FMaxLimitWorkerThreadCount;
    property IdleWorkerThreadCount: Integer read FIdleWorkerThreadCount;
    property QueuedRequestCount: Integer read FQueuedRequestCount;
    property RetiredWorkerThreadCount: Integer read FRetiredWorkerThreadCount;
    property AverageCPUUsage: Integer read FAverageCPUUsage;
    property CurrentCPUUsage: Integer read FCurrentCPUUsage;
    property ThreadSuspended: Integer read FThreadSuspended;
    property LastSuspendTick: UInt64 read FLastSuspendTick;
    property LastThreadCreationTick: UInt64 read FLastThreadCreationTick;
    property LastQueuedRequestCount: Integer read FLastQueuedRequestCount;
    class function Get(const Pool: TThreadPool): TThreadPoolStats; static;
    class property Current: TThreadPoolStats read GetCurrent;
    class property Default: TThreadPoolStats read GetDefault;
  end;

C++

struct DECLSPEC_DRECORD TThreadPoolStats
{
private:
    int FWorkerThreadCount;
    int FMinLimitWorkerThreadCount;
    int FMaxLimitWorkerThreadCount;
    int FIdleWorkerThreadCount;
    int FQueuedRequestCount;
    int FRetiredWorkerThreadCount;
    int FAverageCPUUsage;
    int FCurrentCPUUsage;
    int FThreadSuspended;
    unsigned __int64 FLastSuspendTick;
    unsigned __int64 FLastThreadCreationTick;
    int FLastQueuedRequestCount;
    static TThreadPoolStats __fastcall GetCurrent();
    static TThreadPoolStats __fastcall GetDefault();
public:
    __property int WorkerThreadCount = {read=FWorkerThreadCount};
    __property int MinLimitWorkerThreadCount = {read=FMinLimitWorkerThreadCount};
    __property int MaxLimitWorkerThreadCount = {read=FMaxLimitWorkerThreadCount};
    __property int IdleWorkerThreadCount = {read=FIdleWorkerThreadCount};
    __property int QueuedRequestCount = {read=FQueuedRequestCount};
    __property int RetiredWorkerThreadCount = {read=FRetiredWorkerThreadCount};
    __property int AverageCPUUsage = {read=FAverageCPUUsage};
    __property int CurrentCPUUsage = {read=FCurrentCPUUsage};
    __property int ThreadSuspended = {read=FThreadSuspended};
    __property unsigned __int64 LastSuspendTick = {read=FLastSuspendTick};
    __property unsigned __int64 LastThreadCreationTick = {read=FLastThreadCreationTick};
    __property int LastQueuedRequestCount = {read=FLastQueuedRequestCount};
    static TThreadPoolStats __fastcall Get(TThreadPool* const Pool);
    /* static */ __property TThreadPoolStats Current = {read=GetCurrent};
    /* static */ __property TThreadPoolStats Default = {read=GetDefault};
};

Propriétés

Type Visibilité  Source Unité  Parent
record
struct
public
System.Threading.pas
System.Threading.hpp
System.Threading System.Threading

Description

Embarcadero Technologies ne possède pas d'informations supplémentaires pour le moment. Veuillez nous aider à documenter cette rubrique en utilisant la page Discussion !