# Class Cache.Data

Inheritance graph

Description

  Base stored object for the cache system.

Variable atime

  ``int` Cache.Data.atime`

Description

  last-access time.

Variable cost

  ``float` Cache.Data.cost`

Description

  relative preciousness scale

Variable ctime

  ``int` Cache.Data.ctime`

Description

  creation-time

Variable etime

  ``int` Cache.Data.etime`

Description

  expiry-time (if supplied). 0 otherwise

Method create

  `Cache.Data Cache.Data(`void`|`mixed` `value`, `void`|`int` `expire_time`, `void`|`float` `preciousness`)`

Description

  expire_time is relative and in seconds.