UpdateConfig Class
Update consists into determine if there is a new version and then evolve the current cache to be up to date. To register an update algorithm you provide a UpdateImplementation instance by using use.
Methods
option
(
Any
chainable
-
optname
-
[value]
Gets or set an option.
Parameters:
-
optname
StringThe name of the option to be set or get.
-
[value]
Any optionalIf provided, the value to be set for the passed option.
Returns:
Any:
The value of the option when getting.
use
(
chainable
-
impl
Register the update implementation.
Parameters:
-
impl
UpdateImplementationThe update implementation to be used.
Properties
flags
UpdateFlags
Flags set at the beginning of the update process. They include: