# Interface: com.pnfsoftware.jeb.util.concurrent.IMonitorInfoProvider

Thread monitoring details used by the static [monitor\(\)](ThreadUtil#monitor(Thread, IMonitorInfoProvider)) method as well as the more complex [ThreadMonitor](ThreadMonitor) objects. 

 See the adapter implementation [MonitorInfoAdapter](MonitorInfoAdapter).

## Method: getProbingPeriod
- return type: `long`

Description: Get the current probing period.
return: 

## Method: getTimeout
- return type: `long`

Description: Get the current timeout value.
return: 

## Method: onInterrupt

Description: If timeout has elapsed, this method is called before the monitor attempts to interrupt the monitored thread.

## Method: setProbingPeriod
- parameter: `millis`, type: `long`

Description: Set the period at which the monitored thread will be probed. That method allows the probing period to be set dynamically, even during execution of said\-thread.
parameter: millis: if <=0, then will use a default sane value

## Method: setTimeout
- parameter: `millis`, type: `long`

Description: Set the timeout value that determines the maximum thread's lifetime. That method allows the timeout to be set dynamically, even during execution of said\-thread.
parameter: millis: can be <=0, means no timeout

