Method Sync
Sync(ICollection<String>)
Ensure that any writes to these files 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.
NOTE: Clients may call this method for same files over
and over again, so some impls might optimize for that.
For other impls the operation can be a noop, for various
reasons.
Declaration
public abstract void Sync(ICollection<string> names)
Parameters
Type | Name | Description |
---|---|---|
ICollection<System.String> | names |