C# 클래스 NLog.Internal.FileAppenders.BaseMutexFileAppender

상속: BaseFileAppender
파일 보기 프로젝트 열기: NLog/NLog

공개 메소드들

메소드 설명
BaseMutexFileAppender ( string fileName, ICreateFileParameters createParameters ) : System

Initializes a new instance of the BaseMutexFileAppender class.

보호된 메소드들

메소드 설명
CreateArchiveMutex ( ) : Mutex

Creates a mutually-exclusive lock for archiving files.

CreateSharableArchiveMutex ( ) : Mutex

Creates a mutex for archiving that is sharable by more than one process.

CreateSharableMutex ( string mutexNamePrefix ) : Mutex

Creates a mutex that is sharable by more than one process.

비공개 메소드들

메소드 설명
GetMutexName ( string mutexNamePrefix ) : string

메소드 상세

BaseMutexFileAppender() 공개 메소드

Initializes a new instance of the BaseMutexFileAppender class.
public BaseMutexFileAppender ( string fileName, ICreateFileParameters createParameters ) : System
fileName string Name of the file.
createParameters ICreateFileParameters The create parameters.
리턴 System

CreateArchiveMutex() 보호된 메소드

Creates a mutually-exclusive lock for archiving files.
protected CreateArchiveMutex ( ) : Mutex
리턴 System.Threading.Mutex

CreateSharableArchiveMutex() 보호된 메소드

Creates a mutex for archiving that is sharable by more than one process.
protected CreateSharableArchiveMutex ( ) : Mutex
리턴 System.Threading.Mutex

CreateSharableMutex() 보호된 메소드

Creates a mutex that is sharable by more than one process.
protected CreateSharableMutex ( string mutexNamePrefix ) : Mutex
mutexNamePrefix string The prefix to use for the name of the mutex.
리턴 System.Threading.Mutex