C# Class Lucene.Net.Store.NativeFSLock

Inheritance: Lock
显示文件 Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
NativeFSLock ( NativeFSLockFactory creatingInstance, DirectoryInfo lockDir, string lockFileName ) : System
Obtain ( ) : bool
Release ( ) : void
ToString ( ) : string

Method Details

Dispose() public method

public Dispose ( ) : void
return void

NativeFSLock() public method

public NativeFSLock ( NativeFSLockFactory creatingInstance, DirectoryInfo lockDir, string lockFileName ) : System
creatingInstance NativeFSLockFactory
lockDir DirectoryInfo
lockFileName string
return System

Obtain() public method

public Obtain ( ) : bool
return bool

Release() public method

public Release ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string