LicenseSpring .Net SDK 8.1.0
Easily add Software Licensing to your application
Loading...
Searching...
No Matches
LicenseSpring.ExtendedLicenseWatchdogCallbacks Class Reference

Bundle of optional callbacks invoked by ExtendedLicenseWatchdog. Each per-target callback receives the snapshot of the target that triggered it. More...

Properties

ExtendedLicenseWatchdogTargetCallback OnBeforeCheck [get, set]
 Diagnostic hook fired immediately before each refresh attempt for a target.
 
ExtendedLicenseWatchdogFailureCallback OnFailure [get, set]
 Invoked when a refresh fails. The snapshot's ExtendedLicenseWatchdogTargetSnapshot.NextDelay holds the next backoff interval.
 
ExtendedLicenseWatchdogTargetCallback OnRecovered [get, set]
 Invoked when a successful refresh follows one or more failures for the same target.
 
ExtendedLicenseWatchdogTargetCallback OnRepeatedSuccess [get, set]
 Invoked when a refresh succeeds while the target was already healthy.
 
ExtendedLicenseWatchdogStateChangedCallback OnStateChanged [get, set]
 Invoked when a target transitions between Healthy/Failing/Stopped (not on repeated state).
 
ExtendedLicenseWatchdogStoppedCallback OnStopped [get, set]
 Invoked once after the worker thread exits. No per-target context.
 
ExtendedLicenseWatchdogTargetCallback OnSuccess [get, set]
 Invoked after every successful refresh of a target.
 

Detailed Description

Bundle of optional callbacks invoked by ExtendedLicenseWatchdog. Each per-target callback receives the snapshot of the target that triggered it.

All callbacks are invoked without holding the watchdog lock, so they may call back into the watchdog (for example to remove a target or stop the watchdog).


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