The WebSyncHelper type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
WebSyncHelper |
Methods
Name | Description | |
---|---|---|
Clear |
Clears the hashtables of web farm servers.
| |
CreateTask |
Creates task.
| |
DeleteDynamicServer |
Deletes the dynamic web farm server
| |
DeleteMemorySynchronizationTasks |
Deletes memory synchronization web farm tasks.
| |
DeleteTask |
Removes task for specified server.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAllEnabledServers | Obsolete.
Returns the DataSet of all the enabled servers records.
| |
GetAzureWebFarmName |
Constructs the name for web farms when running on Azure.
| |
GetEnabledServerNames | Obsolete.
Gets the list of currently enabled server names.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetNotificationPath |
Gets default notification path for given server physical path
| |
GetServerTasks |
Returns dataset with tasks to current server.
| |
GetTaskBinaryData |
Returns task binary data.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetWebFarmUpdater |
Returns web farm updater instance.
| |
InitWebFarm |
Initializes the web farm environment
| |
IsFileSynchronizationAllowed |
Returns value which indicates whether current file is allowed to web farm synchronization.
| |
IsServerEnabled | Obsolete.
Returns true if the server with given ID is enabled
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NotifyServer(Int32) |
Notifies a web farm server about a new task.
| |
NotifyServer(String) |
Notifies a web farm server about a new task.
| |
NotifyServers |
Notifies other servers that some changes occured
| |
ProcessMyTasks |
Reads all tasks assigned to the current server and processes them. It processes only tasks
for the server with code name stored in the CMSWebFarmServerName web.config variable.
| |
ProcessTask |
Processes the specified task and deletes it.
| |
RegisterWatchers |
Initializes file system watchers
| |
RegisterWebFarmMemoryTask |
Registers the given task as the memory only task
| |
SetErrorInTask |
Sets the error message to the specified task.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Fields
Name | Description | |
---|---|---|
NOTIFY_FILENAME |
File name of the file for web farm server notification
|
Properties
Name | Description | |
---|---|---|
CurrentlyDeletedServerID |
Gets or sets the ID of the currently deleted server.
| |
DeleteGeneratedWebFarmServers |
Specifies whether generated web farm servers are deleted automatically on application end.
| |
EnabledServers |
Gets the collection of enabled servers.
| |
GenerateWebFarmServers |
Specifies whether web farm servers are generated automatically on first application start.
| |
InstanceIsHiddenWebFarmServer |
Indicates that the instance is hidden part of the web farm.
| |
MaxWebFarmFileSize |
Gets the maximal file size which is allowed for web farm synchronization.
| |
NotifyPath |
Physical path to the watcher folder for web farm server notification.
| |
NotifyWatcher |
File watcher to notify web farm server to process tasks.
| |
ScriptTimeout |
Gets or sets the script timeout in seconds.
| |
ServerCount |
Returns count of enabled web farm servers.
| |
ServerId |
Server ID.
| |
ServerName |
Server name.
| |
ServersToUpdate |
Gets the collection of servers to be updated if needed. Current server is excluded.
| |
SynchronizeDeleteFiles |
Gets or sets value that indicates whether file delete synchronization is enabled.
| |
SynchronizeFiles |
Gets or sets value that indicates whether file synchronization is enabled.
| |
TeamDevelopmentEnabled |
Gets a value that specifies whether the team development is enabled.
| |
UpdateWebFarmWithinRequest |
Gets or sets the value that indicates whether web farm updater should be called within current request.
| |
UseDbWebFarmUpdater |
Returns whether database web farm updater is used.
| |
UseTasksForExternalApplication |
Indicates if synchronization tasks should be logged and processed for external applications.
| |
WebFarmEnabled |
Gets or sets the value that indicates whether web farm for current server is enabled.
Set value overrides only web config enable setting.
| |
WebFarmInstanceEnabled |
Gets the value that indicates whether webfarm instance is
enabled in configuration file
| |
WebFarmMemoryTasks |
Gets list of all task types which synchronizes only memory objects.
| |
WebFarmReady |
Returns whether are web farms ready.
| |
WebFarmUpdaterClass |
Web farm updater class used to update web farm servers.
| |
WebFarmUpdaterPage |
Gets or sets the web farm updater page location. Default page location: "/CMSPages/webfarmupdater.aspx"
|
Events
Name | Description | |
---|---|---|
OnProcessCustomTask |
Custom task event.
|
See Also