C# 클래스 Lucene.Net.Store.TestHelper

this class provides access to package-level features defined in the store package. It is used for testing only.
파일 보기 프로젝트 열기: runefs/Marvin

공개 메소드들

메소드 설명
IsFSInputStreamClone ( Lucene.Net.Store.InputStream is_Renamed ) : bool

Returns true if the provided input stream is an FSInputStream and is a clone, that is it does not own its underlying file descriptor.

IsFSInputStreamOpen ( Lucene.Net.Store.InputStream is_Renamed ) : bool

Given an instance of FSDirectory.FSInputStream, this method returns true if the underlying file descriptor is valid, and false otherwise. This can be used to determine if the OS file has been closed. The descriptor becomes invalid when the non-clone instance of the FSInputStream that owns this descriptor is closed. However, the descriptor may possibly become invalid in other ways as well.

isFSInputStream ( Lucene.Net.Store.InputStream is_Renamed ) : bool

Returns true if the instance of the provided input stream is actually an FSInputStream.

메소드 상세

IsFSInputStreamClone() 공개 정적인 메소드

Returns true if the provided input stream is an FSInputStream and is a clone, that is it does not own its underlying file descriptor.
public static IsFSInputStreamClone ( Lucene.Net.Store.InputStream is_Renamed ) : bool
is_Renamed Lucene.Net.Store.InputStream
리턴 bool

IsFSInputStreamOpen() 공개 정적인 메소드

Given an instance of FSDirectory.FSInputStream, this method returns true if the underlying file descriptor is valid, and false otherwise. This can be used to determine if the OS file has been closed. The descriptor becomes invalid when the non-clone instance of the FSInputStream that owns this descriptor is closed. However, the descriptor may possibly become invalid in other ways as well.
public static IsFSInputStreamOpen ( Lucene.Net.Store.InputStream is_Renamed ) : bool
is_Renamed Lucene.Net.Store.InputStream
리턴 bool

isFSInputStream() 공개 정적인 메소드

Returns true if the instance of the provided input stream is actually an FSInputStream.
public static isFSInputStream ( Lucene.Net.Store.InputStream is_Renamed ) : bool
is_Renamed Lucene.Net.Store.InputStream
리턴 bool