pianod2
multisource multiuser scriptable networked music player
Public Member Functions | Public Attributes | List of all members
ThingieCache Struct Reference

Structure for tracking pool objects and their status for ThingiePool. More...

#include <musiccache.h>

Collaboration diagram for ThingieCache:
Collaboration graph
[legend]

Public Member Functions

void extend (int seconds=600) const
 Extend the life of a cache object. More...
 

Public Attributes

Retainer< MusicThingie * > item
 
time_t expiration = 0
 

Detailed Description

Structure for tracking pool objects and their status for ThingiePool.

See also
ThingiePool.

Member Function Documentation

◆ extend()

void ThingieCache::extend ( int  seconds = 600) const

Extend the life of a cache object.

Parameters
secondsNumber of seconds to guarantee the object's life.
Here is the caller graph for this function:

Member Data Documentation

◆ expiration

time_t ThingieCache::expiration = 0
mutable

◆ item

Retainer<MusicThingie *> ThingieCache::item

The documentation for this struct was generated from the following files: