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. |
CurrentVersion
Returns the current revision files held by the handler.
Declaration
string CurrentVersion { get; }
Property Value
Type | Description |
---|---|
System. |
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. |
version | The version of the IRevision that was copied |
System. |
revisionFiles | The files contained by this IRevision |
System. |
copiedFiles | The files that were actually copied |
System. |
sourceDirectory | A mapping from a source of files to the Lucene. |
Exceptions
Type | Condition |
---|---|
System. |