Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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 Source

    AfterRefresh(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
    | Improve this Doc View Source

    BeforeRefresh()

    Called right before a refresh attempt starts.

    Declaration
    void BeforeRefresh()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.