DataCache

Overview

This service provides basic functionalities to bind a value to a key. It understands a cache logic, and can determine if a value is deprecated or not, following user's given information of temporal validity.

Architectural Description

Dependencies

Business Objects

Operations

Operations will throw a DataCacheException fault if they encounter a problem at runtime. All keys must be initialized using an initContent call before using it.

  • void initContent(xsd:string key)
    • Initialize the cache mechanism for the given key.
  • xsd:string getContent(xsd:string key)
    • Extract the content of the cache for the given key.
  • xsd:boolean isValid(xsd:string key, xsd:int delta)
    • Perform a validity test for a cache value. Return true is the value was stored less than delta minutes ago, false elsewhere.
  • void setContent(xsd:string key, xsd:string content)
    • Put a given content to a given key inisde the cache.

Download

services/ws/datacache.txt · Last modified: 2009/05/08 17:32 by mosser
CC Attribution-Noncommercial-Share Alike 3.0 Unported www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0