NAME

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

SYNOPSIS

DESCRIPTION

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

new ( %options )

METHODS

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

Copyright (c) 2002,2003 IBM Corporation. All rights reserved. This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at http://www.opensource.org/licenses/cpl.php