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 SourceCurrentRevisionFiles
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>> |
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 SourceRevisionReady(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 |