Interface ReferenceManager.IRefreshListener
Use to receive notification when a refresh has finished. See AddListener(IRefreshListener).
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public interface ReferenceManager.IRefreshListener
Methods
AfterRefresh(bool)
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 |
---|---|---|
bool | didRefresh |
BeforeRefresh()
Called right before a refresh attempt starts.
Declaration
void BeforeRefresh()