C# 클래스 winsw.Plugins.RunawayProcessKiller.RunawayProcessKillerExtension

상속: AbstractWinSWExtension
파일 보기 프로젝트 열기: kohsuke/winsw

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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

메소드 상세

Configure() 공개 메소드

public Configure ( ServiceDescriptor descriptor, XmlNode node ) : void
descriptor ServiceDescriptor
node System.Xml.XmlNode
리턴 void

OnProcessStarted() 공개 메소드

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

OnWrapperStarted() 공개 메소드

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

RunawayProcessKillerExtension() 공개 메소드

public RunawayProcessKillerExtension ( ) : System
리턴 System

RunawayProcessKillerExtension() 공개 메소드

public RunawayProcessKillerExtension ( String pidfile ) : System
pidfile String
리턴 System