Given an instance of SimpleFSDirectory.SimpleFSIndexInput, 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
SimpleFSIndexInput that owns this descriptor is closed. However, the
descriptor may possibly become invalid in other ways as well.
Declaration
public static bool IsSimpleFSIndexInputOpen(IndexInput is)
Parameters
Type |
Name |
Description |
IndexInput |
is |
|
Returns
Type |
Description |
System.Boolean |
|