OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
OpenSim.Framework.Monitoring.Watchdog.ThreadWatchdogInfo Class Reference

Public Member Functions

 ThreadWatchdogInfo (Thread thread, int timeout, string name)
 
 ThreadWatchdogInfo (ThreadWatchdogInfo previousTwi)
 
void Cleanup ()
 

Properties

Thread Thread [get, set]
 
int FirstTick [get, set]
 Approximate tick when this thread was started. More...
 
int LastTick [get, set]
 Last time this heartbeat update was invoked More...
 
int Timeout [get, set]
 Number of milliseconds before we notify that the thread is having a problem. More...
 
bool IsTimedOut [get, set]
 Is this thread considered timed out? More...
 
bool AlarmIfTimeout [get, set]
 Will this thread trigger the alarm function if it has timed out? More...
 
Func< string > AlarmMethod [get, set]
 Method execute if alarm goes off. If null then no alarm method is fired. More...
 
Stat Stat [get, set]
 Stat structure associated with this thread. More...
 

Detailed Description

Definition at line 50 of file Watchdog.cs.

Constructor & Destructor Documentation

OpenSim.Framework.Monitoring.Watchdog.ThreadWatchdogInfo.ThreadWatchdogInfo ( Thread  thread,
int  timeout,
string  name 
)
inline

Definition at line 92 of file Watchdog.cs.

OpenSim.Framework.Monitoring.Watchdog.ThreadWatchdogInfo.ThreadWatchdogInfo ( ThreadWatchdogInfo  previousTwi)
inline

Definition at line 115 of file Watchdog.cs.

Member Function Documentation

void OpenSim.Framework.Monitoring.Watchdog.ThreadWatchdogInfo.Cleanup ( )
inline

Definition at line 126 of file Watchdog.cs.

Property Documentation

bool OpenSim.Framework.Monitoring.Watchdog.ThreadWatchdogInfo.AlarmIfTimeout
getset

Will this thread trigger the alarm function if it has timed out?

Definition at line 80 of file Watchdog.cs.

Func<string> OpenSim.Framework.Monitoring.Watchdog.ThreadWatchdogInfo.AlarmMethod
getset

Method execute if alarm goes off. If null then no alarm method is fired.

Definition at line 85 of file Watchdog.cs.

int OpenSim.Framework.Monitoring.Watchdog.ThreadWatchdogInfo.FirstTick
getset

Approximate tick when this thread was started.

Not terribly good since this quickly wraps around.

Definition at line 60 of file Watchdog.cs.

bool OpenSim.Framework.Monitoring.Watchdog.ThreadWatchdogInfo.IsTimedOut
getset

Is this thread considered timed out?

Definition at line 75 of file Watchdog.cs.

int OpenSim.Framework.Monitoring.Watchdog.ThreadWatchdogInfo.LastTick
getset

Last time this heartbeat update was invoked

Definition at line 65 of file Watchdog.cs.

Stat OpenSim.Framework.Monitoring.Watchdog.ThreadWatchdogInfo.Stat
getset

Stat structure associated with this thread.

Definition at line 90 of file Watchdog.cs.

Thread OpenSim.Framework.Monitoring.Watchdog.ThreadWatchdogInfo.Thread
getset

Definition at line 52 of file Watchdog.cs.

int OpenSim.Framework.Monitoring.Watchdog.ThreadWatchdogInfo.Timeout
getset

Number of milliseconds before we notify that the thread is having a problem.

Definition at line 70 of file Watchdog.cs.


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