Interface ReferenceManager.IRefreshListener
Use to receive notification when a refresh has finished. See AddListener(ReferenceManager.IRefreshListener).
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public interface IRefreshListener
Methods
| Improve this Doc View SourceAfterRefresh(Boolean)
Called after the attempted refresh; if the refresh
did open a new reference then didRefresh will be true
and Acquire() is guaranteed to return the new
reference.
Declaration
void AfterRefresh(bool didRefresh)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | didRefresh |
BeforeRefresh()
Called right before a refresh attempt starts.
Declaration
void BeforeRefresh()