IcePatch Properties

IcePatch.Endpoints

Synopsis

IcePatch.Endpoints=endpoints

Description

Specifies the endpoints of the IcePatch server. This property is required by both the IcePatch server and client.

IcePatch.PublishedEndpoints

Synopsis

IcePatch.PublishedEndpoints=endpoints

Description

Specifies the published endpoints of the IcePatch server. Refer to the description of the object adapter property adapter.PublishedEndpoints for more information.

IcePatch.Directory

Synopsis

IcePatch.Directory=dir

Description

Sets the IcePatch data directory to dir. If not defined, the current working directory is used.

IcePatch.UpdatePeriod

Synopsis

IcePatch.UpdatePeriod=num

Description

Sets the IcePatch server's update period to num seconds. Updates are executed in a background thread during which the server descends the data directory and performs a number of tasks, including compressing files and computing unique signatures. If not defined, the default value is 60. Automatic updates are disabled if this property is set to zero.

IcePatch.BusyTimeout

Synopsis

IcePatch.BusyTimeout=num

Description

Defines the number of seconds num the server should wait when attempting to acquire an internal lock on a file or directory. A lock is held whenever a file or directory is being updated, such as when a file is being compressed or a unique signature is being computed. If the server is unable to acquire a lock after the specified timeout period, an IcePatch::BusyException is returned. If not specified, the default value is 10.

IcePatch.Trace.Files

Synopsis

IcePatch.Trace.Files=num

Description

If num is set to a value larger than zero, the server emits diagnostic information to its configured logger. The default value is 0.

IcePatch.RemoveOrphaned

Synopsis

IcePatch.RemoveOrphaned=num

Description

If num is set to a value larger than zero, the IcePatch client automatically removes files from its local data directory that are no longer present in the server's data directory. The default value is 0.

IcePatch.Thorough

Synopsis

IcePatch.Thorough=num

Description

If num is set to a value larger than zero, the IcePatch client performs a thorough comparison of each local directory to that of the server. The default value of 0 causes the client to skip a directory if its unique signature matches the server's.

IcePatch.Dynamic

Synopsis

IcePatch.Dynamic=num

Description

If num is set to a value larger than zero, the IcePatch client dynamically calculates the unique signatures of local files rather than caching the signatures. This reduces the number of local cache files at the expense of more processing when comparing directories with the server. The default value is 1.