Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface IReplicationHandler

    Handler for revisions obtained by the client.

    Namespace: Lucene.Net.Replicator
    Assembly: Lucene.Net.Replicator.dll
    Syntax
    public interface IReplicationHandler

    Properties

    | Improve this Doc View Source

    CurrentRevisionFiles

    Returns the current revision version held by the handler.

    Declaration
    IDictionary<string, IList<RevisionFile>> CurrentRevisionFiles { get; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.IList<RevisionFile>>
    | Improve this Doc View Source

    CurrentVersion

    Returns the current revision files held by the handler.

    Declaration
    string CurrentVersion { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    RevisionReady(String, IDictionary<String, IList<RevisionFile>>, IDictionary<String, IList<String>>, IDictionary<String, Directory>)

    Called when a new revision was obtained and is available (i.e. all needed files were successfully copied).

    Declaration
    void RevisionReady(string version, IDictionary<string, IList<RevisionFile>> revisionFiles, IDictionary<string, IList<string>> copiedFiles, IDictionary<string, Directory> sourceDirectory)
    Parameters
    Type Name Description
    System.String version

    The version of the IRevision that was copied

    System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.IList<RevisionFile>> revisionFiles

    The files contained by this IRevision

    System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.IList<System.String>> copiedFiles

    The files that were actually copied

    System.Collections.Generic.IDictionary<System.String, Lucene.Net.Store.Directory> sourceDirectory

    A mapping from a source of files to the Lucene.Net.Store.Directory they were copied into

    Exceptions
    Type Condition
    System.IO.IOException
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.