C# Class winsw.Plugins.RunawayProcessKiller.RunawayProcessKillerExtension

Inheritance: AbstractWinSWExtension
Afficher le fichier Open project: kohsuke/winsw

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Configure ( ServiceDescriptor descriptor, XmlNode node ) : void
OnProcessStarted ( System process ) : void

Records the started process PID for the future use in OnStart() after the restart.

OnWrapperStarted ( ) : void

This method checks if the PID file is stored on the disk and then terminates runaway processes if they exist.

RunawayProcessKillerExtension ( ) : System
RunawayProcessKillerExtension ( String pidfile ) : System

Method Details

Configure() public méthode

public Configure ( ServiceDescriptor descriptor, XmlNode node ) : void
descriptor ServiceDescriptor
node System.Xml.XmlNode
Résultat void

OnProcessStarted() public méthode

Records the started process PID for the future use in OnStart() after the restart.
public OnProcessStarted ( System process ) : void
process System
Résultat void

OnWrapperStarted() public méthode

This method checks if the PID file is stored on the disk and then terminates runaway processes if they exist.
public OnWrapperStarted ( ) : void
Résultat void

RunawayProcessKillerExtension() public méthode

public RunawayProcessKillerExtension ( ) : System
Résultat System

RunawayProcessKillerExtension() public méthode

public RunawayProcessKillerExtension ( String pidfile ) : System
pidfile String
Résultat System