Method Sync
Sync(String)
Ensure that any writes to this file are moved to stable storage. Lucene uses this to properly commit changes to the index, to prevent a machine/OS crash from corrupting the index.
Declaration
public virtual void Sync(String name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |