Click or drag to resize

EndPointSynchronizer Class

Defines an endpoint synchronizer that handles a specific file system instance.
Inheritance Hierarchy
SystemObject
  callback.ShellBoost.Core.SynchronizationEndPointSynchronizer

Namespace:  callback.ShellBoost.Core.Synchronization
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public class EndPointSynchronizer : ISyncEntryComparer, 
	IDisposable

The EndPointSynchronizer type exposes the following members.

Constructors
  NameDescription
Public methodEndPointSynchronizer
Initializes a new instance of the EndPointSynchronizer class.
Top
Properties
  NameDescription
Public propertyChecksEntryIdsUnicity
Gets a value indicating whether entry ids unicity is checked. This is set by default to help diagnostics.
Public propertyDirectContentAccess
Gets the direct content access instance.
Public propertyEnableDirectContentAccess
Gets a value indicating whether to enable direct content access.
Public propertyEventsGroupingTimeout
Gets the events grouping timeout, in milliseconds.
Public propertyFileSystem
Gets the file system.
Public propertyFileSystemDestination
Gets the file system destination instance.
Public propertyFileSystemEvents
Gets the file system events instance.
Public propertyFileSystemRead
Gets the readable file system instance.
Public propertyFileSystemSynchronizationEventsSink
Gets the file system synchronization events sink instance.
Public propertyFileSystemSynchronizationState
Gets the file system synchronization state instance.
Public propertyFileSystemWrite
Gets the writable file system instance.
Public propertyFileSystemWriteAsync
Gets the writable file system instance using async methods.
Public propertyIdentifier
Gets the identifier.
Public propertyJobMaximumErrorCount
Gets a job maximum error count.
Public propertyMultiPointSynchronizer
Gets the multi-point synchronizer.
Public propertyOptions
Gets the options.
Public propertyPriorityAsSource
Gets or sets the priority value as a source endpoint. This is only relevant if this endpoint is associated with a readable file system;
Public propertyProcessEvents
Gets or sets a value indicating whether to monitor events.
Public propertyStateProvider
Gets the state provider.
Public propertySynchronizationStatePriority
Gets the synchronization state priority.
Public propertyUploadsWaitForParents
Gets a value indicating whether uploads operation must wait for parent entries.
Top
Methods
  NameDescription
Public methodAddFileSystemEvent
Adds a file system event manually.
Protected methodAddSyncChange
Add a sync change manually.
Protected methodApplyChangeAsync
Applies a change.
Protected methodApplyChangedChangeAsync
Applies a changed change.
Protected methodApplyContentChangedChangeAsync
Applies a content changed change.
Protected methodApplyCreatedChangeAsync
Applies a created change.
Protected methodApplyDeletedChangeAsync
Applies a deleted change.
Protected methodApplyMovedChangeAsync
Applies a moved change.
Protected methodCheckEventSink
Checks the synchronizer event sink.
Protected methodDeleteJob
Deletes a job.
Protected methodDeleteOrphanedEntry
Deletes an orphaned entry.
Protected methodDeleteStaleTemporaryEntriesAsync
Deletes stale temporary entries on the file system.
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 methodEnumerateChanges
Enumerates the changes for this endpoint.
Protected methodEnumerateChildEntries
Enumerates the child entries of a given parent.
Public methodEnumerateJobs
Enumerates the jobs for this endpoint.
Public methodEnumerateStateEntries
Enumerates entries stored in the state provider for this endpoint.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Frees all resources associated with this instance.
(Overrides ObjectFinalize.)
Public methodGetEntryByName
Gets an entry using its parent and name.
Public methodGetEntryFilePath
Gets a entry file path from the state provider.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSources
Gets the available sources endpoints for a given path, from a given set of endpoints, excluding this instance.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasEntryChanged
Determines whether an entry has changed.
Public methodHasEntryContentChanged
Determines whether an entry content has changed.
Public methodHasEntryMoved
Determines whether an entry has been moved.
Protected methodIsContentChange
Determines whether a change corresponds to a content change.
Public methodIsSynchronized
Determines whether the specified local relative path is synchronized, ie: its metadata and content moved or copied to the associated file system implementation.
Public methodLog
Logs the value at the specified trace level.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNewStateDiff
Creates a new instance of the StateDiff type.
Protected methodNewStateEvent
Creates a new instance of the StateEvent type.
Protected methodOnFileSystemEvent
Handles a file event.
Protected methodProcessFileSystemEvent
Defines if a file system event should be processed.
Protected methodRunJobAsync
Runs a job. Running a job means its changes will be processed.
Protected methodSaveEntry
Saves an entry to this endpoint synchronizer.
Protected methodSaveStateDiff
Saves the differential state.
Protected methodSendEvents
Sends the accumulated events and update the differential state.
Protected methodSendEvents(CancellationToken)
Sends the accumulated events and update the differential state.
Public methodStart
Called by the MultiPointSynchronizer when it starts.
Public methodStartEventMonitoring
Starts the event monitoring.
Public methodStop
Called by the MultiPointSynchronizer when it stops.
Public methodStopEventMonitoring
Stops the event monitoring.
Protected methodToChange
Converts an event to a sync change.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Protected methodTransactedSaveStateDiff
Saves the differential state in a transaction.
Public methodUpdateState
Updates the state corresponding to the associated file system.
Top
See Also