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 Licensed to the Apache Software Foundation (ASF)