Click or drag to resize

MultiPointSynchronizer Class

Defines a multi-point synchronizer.
Inheritance Hierarchy
SystemObject
  ShellBoost.Core.SynchronizationMultiPointSynchronizer

Namespace:  ShellBoost.Core.Synchronization
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public class MultiPointSynchronizer : IDisposable

The MultiPointSynchronizer type exposes the following members.

Constructors
  NameDescription
Public methodMultiPointSynchronizer
Initializes a new instance of the MultiPointSynchronizer class.
Top
Properties
  NameDescription
Public propertyChecksEntryIdsUnicity
Gets or sets a value indicating whether entry ids unicity is checked. This is set by default to help diagnostics.
Public propertyCompletionOnDisposeWaitTimeout
Gets the completion-on-dispose wait timeout, in milliseconds.
Public propertyContentMover
Gets the content mover instance.
Public propertyEndPoints
Gets a list of added endpoints.
Public propertyEventsGroupingTimeout
Gets the events grouping timeout, in milliseconds.
Public propertyStatic memberFileNameEscapeHandler
Gets or sets a custom file name escape handler. This value must be changed before any MultiPointSynchronizer instance is used and must never be changed after that.
Public propertyIdentifier
Gets the identifier.
Public propertyIdleTasksTimeout
Gets the idle tasks timeout, in milliseconds.
Public propertyIsStarted
Gets a value indicating whether this instance is started.
Public propertyIsStateReadOnly
Gets a value indicating whether the state is read-only.
Public propertyJobMaximumErrorCount
Gets a job maximum error count.
Public propertyJobsRunning
Gets the number of jobs running.
Public propertyLastJobCreationDate
Gets or sets the last job creation date.
Public propertyLogger
Gets or sets a logger instance.
Public propertyNoJobCreatedRunCount
Gets or sets the number of times the job building creation pass hasn't created any job.
Public propertyOptions
Gets the options.
Public propertyStateProvider
Gets the state provider.
Top
Methods
  NameDescription
Public methodAddEndPoint
Adds a endpoint.
Protected methodBuildNewJobs
Builds new jobs from the list of changes.
Protected methodCheckDisposed
Checks this instance is disposed.
Protected methodCheckStateReadOnly
Checks this instance's state is read-only.
Protected methodCompareEntriesForStateSynchronization
Compares the specified state entries. The two entries must have the same RelativePath property value.
Public methodDeleteErroredJobs
Deletes the errored jobs.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodDoRunJobs
Triggers jobs run.
Protected methodDoRunJobs(IReadOnlyListStateSyncJob, CancellationToken)
Runs the jobs.
Protected methodEnsureParentCreationJob
Ensures there is a parent creation job for this change.
Public methodStatic memberEscapeInvalidChar
Converts an invalid character into a string.
Public methodStatic memberEscapeNameToFileName
Converts any text into a valid file name. Note the text may escaped and/or truncated.
Public methodStatic memberEscapeReservedName
Converts a text representing a reserved file name into a string.
Protected methodFinalize
Finalizes an instance of the MultiPointSynchronizer class.
(Overrides ObjectFinalize.)
Public methodStatic memberGetDefaultSyncStateProvider
Gets the default state provider.
Public methodGetEndPoint
Gets an endpoint using its identifier.
Protected methodGetFileOpenShare
Gets FileShare to use when opening a file. The default value is FileShare.ReadWrite.
Public methodGetSources
Gets the available sources endpoints for a given path, from a given set of endpoints.
Protected methodGroupChange
Groups a StateSyncChange change instance before a job is created.
Public methodIsStateProviderIdle
Determines whether the state provider is idle.
Public methodIsValidEntry
Determines whether the specified entry is valid.
Public methodLog
Logs the value at the specified trace level.
Protected methodNewContentMover
Creates a new ContentMover.
Public methodNewContext
Creates a new SyncContext.
Protected methodNewEndPointSynchronizer
Creates a new EndPointSynchronizer.
Protected methodNewEventSink
Creates a new ISyncEventsSink.
Public methodNormalizeDateTime(DateTime)
Normalizes a date time for comparisons.
Public methodNormalizeDateTime(DateTimeOffset)
Normalizes a date time offset for comparisons.
Protected methodOnJobChanged
Called when a job has changed.
Protected methodOnStarted
Called when this instance has started.
Protected methodOnStarting
Called when this instance is starting.
Protected methodOnStopped
Called when this instance has stopped.
Protected methodOnStopping
Called when this instance is stopping.
Public methodRemoveEndPoint
Removes a endpoint. It's not recommended to remove an endpoint.
Protected methodRunJobAsync
Runs a job.
Protected methodRunJobs
Runs the jobs.
Public methodRunWhenIdle
Runs a task when job activity is idle.
Public methodStart
Starts this instance.
Protected methodStartEndPoints
Starts all endpoints.
Protected methodStartEndPointsEventMonitoring
Starts all endpoints event monitoring.
Public methodStop
Stops the specified wait timeout.
Protected methodStopEndPoints
Stops all endpoints.
Protected methodSynchronizeStates
Synchronizes all endpoint states.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Public methodStatic memberUnescapeFileNameToName
Converts a file name that was possibly escaped using the EscapeNameToFileName method into text. Note if the text was truncated, it won't be fully recovered.
Public methodUpdateEndPoints
Updates all endpoints states.
Top
Events
  NameDescription
Public eventJobChanged
Occurs when a job has changed.
Public eventStarted
Occurs when this instance has started.
Public eventStarting
Occurs when this instance is starting.
Public eventStopped
Occurs when this instance has stopped.
Public eventStopping
Occurs when this instance is stopping.
Top
See Also