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
    IDictionary<System.String, 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

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

    The files contained by this IRevision

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

    The files that were actually copied

    IDictionary<System.String, Directory> sourceDirectory

    A mapping from a source of files to the Directory they were copied into

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)