LS::Cache::Manager - Cache manager for LSID data, metadata, URIs and WSDL


lsid-perl documentation  | view source Contained in the lsid-perl distribution.

Index


NAME

Top

LS::Cache::Manager - Cache manager for LSID data, metadata, URIs and WSDL

SYNOPSIS

Top

DESCRIPTION

Top

A cache manager for all LSID client and server transactions. The cache manager can be control through two environment variables: LSID_CACHE_ROOT for the root of the cache and LSID_LOGGING_ON which can be either string 'true' or 'false'.

CONSTRUCTORS

Top

new ( %options )

METHODS

Top

maintain_cache( $timestamp, $current_dir, $cache_config_ref )

Cleans the cache based on the specified timestamp in the directory $current_dir. Optionally, the cache configuration paramaters can be specified. If left unspecified, the system wide defaults will be loaded and then any local configurations from $current_dir down will be loaded.

get_time

Returns the current time in milliseconds.

enable_log ( )

Enables cache transaction logging to the specified file.

is_logging ( )

Returns true of the file log is on, false otherwise.

COPYRIGHT

Top


lsid-perl documentation  | view source Contained in the lsid-perl distribution.