EndPointSynchronizer Class |
Namespace: ShellBoost.Core.Synchronization
public class EndPointSynchronizer : ISyncEntryComparer, IDisposable
The EndPointSynchronizer type exposes the following members.
Name | Description | |
---|---|---|
EndPointSynchronizer |
Initializes a new instance of the EndPointSynchronizer class.
|
Name | Description | |
---|---|---|
ChecksEntryIdsUnicity |
Gets a value indicating whether entry ids unicity is checked.
This is set by default to help diagnostics.
| |
DirectContentAccess |
Gets the direct content access instance.
| |
EnableDirectContentAccess |
Gets a value indicating whether to enable direct content access.
| |
EventsGroupingTimeout |
Gets the events grouping timeout, in milliseconds.
| |
FileSystem |
Gets the file system.
| |
FileSystemDestination |
Gets the file system destination instance.
| |
FileSystemEvents |
Gets the file system events instance.
| |
FileSystemRead |
Gets the readable file system instance.
| |
FileSystemSynchronizationEventsSink |
Gets the file system synchronization events sink instance.
| |
FileSystemSynchronizationState |
Gets the file system synchronization state instance.
| |
FileSystemWrite |
Gets the writable file system instance.
| |
FileSystemWriteAsync |
Gets the writable file system instance using async methods.
| |
Identifier |
Gets the identifier.
| |
JobMaximumErrorCount |
Gets a job maximum error count.
| |
MultiPointSynchronizer |
Gets the multi-point synchronizer.
| |
Options |
Gets the options.
| |
PriorityAsSource |
Gets or sets the priority value as a source endpoint.
This is only relevant if this endpoint is associated with a readable file system;
| |
ProcessEvents |
Gets or sets a value indicating whether to monitor events.
| |
StateProvider |
Gets the state provider.
| |
SynchronizationStatePriority |
Gets the synchronization state priority.
| |
UploadsWaitForParents |
Gets a value indicating whether uploads operation must wait for parent entries.
|
Name | Description | |
---|---|---|
AddFileSystemEvent |
Adds a file system event manually.
| |
AddSyncChange |
Add a sync change manually.
| |
ApplyChangeAsync |
Applies a change.
| |
ApplyChangedChangeAsync |
Applies a changed change.
| |
ApplyContentChangedChangeAsync |
Applies a content changed change.
| |
ApplyCreatedChangeAsync |
Applies a created change.
| |
ApplyDeletedChangeAsync |
Applies a deleted change.
| |
ApplyMovedChangeAsync |
Applies a moved change.
| |
CheckEventSink |
Checks the synchronizer event sink.
| |
DeleteJob |
Deletes a job.
| |
DeleteOrphanedEntry |
Deletes an orphaned entry.
| |
DeleteStaleTemporaryEntriesAsync |
Deletes stale temporary entries on the file system.
| |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
Dispose(Boolean) |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
EnumerateChanges |
Enumerates the changes for this endpoint.
| |
EnumerateChildEntries |
Enumerates the child entries of a given parent.
| |
EnumerateJobs |
Enumerates the jobs for this endpoint.
| |
EnumerateStateEntries |
Enumerates entries stored in the state provider for this endpoint.
| |
Finalize |
Frees all resources associated with this instance.
(Overrides ObjectFinalize.) | |
GetEntryByName |
Gets an entry using its parent and name.
| |
GetEntryFilePath |
Gets a entry file path from the state provider.
| |
GetSources |
Gets the available sources endpoints for a given path, from a given set of endpoints, excluding this instance.
| |
HasEntryChanged |
Determines whether an entry has changed.
| |
HasEntryContentChanged |
Determines whether an entry content has changed.
| |
HasEntryMoved |
Determines whether an entry has been moved.
| |
IsContentChange |
Determines whether a change corresponds to a content change.
| |
IsSynchronized |
Determines whether the specified local relative path is synchronized, ie: its metadata and content moved or copied to the associated file system implementation.
| |
Log |
Logs the value at the specified trace level.
| |
NewStateDiff |
Creates a new instance of the StateDiff type.
| |
NewStateEvent |
Creates a new instance of the StateEvent type.
| |
OnFileSystemEvent |
Handles a file event.
| |
ProcessFileSystemEvent |
Defines if a file system event should be processed.
| |
RunJobAsync |
Runs a job. Running a job means its changes will be processed.
| |
SaveEntry |
Saves an entry to this endpoint synchronizer.
| |
SaveStateDiff |
Saves the differential state.
| |
SendEvents |
Sends the accumulated events and update the differential state.
| |
SendEvents(CancellationToken) |
Sends the accumulated events and update the differential state.
| |
Start |
Called by the MultiPointSynchronizer when it starts.
| |
StartEventMonitoring |
Starts the event monitoring.
| |
Stop |
Called by the MultiPointSynchronizer when it stops.
| |
StopEventMonitoring |
Stops the event monitoring.
| |
ToChange |
Converts an event to a sync change.
| |
ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) | |
TransactedSaveStateDiff |
Saves the differential state in a transaction.
| |
UpdateState |
Updates the state corresponding to the associated file system.
|